Make the i18n T function use std::string_view

Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
This commit is contained in:
Henrik Rydgård
2024-01-19 13:44:49 +01:00
parent 9322b4c6dc
commit c5791764d8
135 changed files with 436 additions and 486 deletions
+2 -2
View File
@@ -33,7 +33,7 @@
class ButtonShapeScreen : public PopupScreen {
public:
ButtonShapeScreen(std::string title, int *setting) : PopupScreen(title), setting_(setting) {}
ButtonShapeScreen(std::string_view title, int *setting) : PopupScreen(title), setting_(setting) {}
void CreatePopupContents(UI::ViewGroup *parent) override {
using namespace UI;
@@ -63,7 +63,7 @@ private:
class ButtonIconScreen : public PopupScreen {
public:
ButtonIconScreen(std::string title, int *setting) : PopupScreen(title), setting_(setting) {}
ButtonIconScreen(std::string_view title, int *setting) : PopupScreen(title), setting_(setting) {}
void CreatePopupContents(UI::ViewGroup *parent) override {
using namespace UI;