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 committed 2024-02-12 18:44:39 +01:00
1 parent 9322b4c6dc
commit c5791764d8
135 files changed
+436 -486

No files matched your search

+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;