1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-10 04:21:44 +00:00

Fixed titles not showing up

This commit is contained in:
flb 2021-01-29 22:28:37 +01:00
parent 69da0e6e9b
commit e0887cf2d4

View file

@ -8,8 +8,8 @@ MainFrame::MainFrame() : TabFrame()
std::string tag = getLatestTag(TAGS_INFO); std::string tag = getLatestTag(TAGS_INFO);
if(!tag.empty() && tag != APP_VERSION) if(!tag.empty() && tag != APP_VERSION)
setTitle(std::string(APP_TITLE) + "menus/main_app"_i18n ); setTitle(std::string(APP_TITLE) + "menus/main_app"_i18n );
/* else else
setTitle(std::string(APP_TITLE) + "menus/main_v"_i18n + std::string(APP_VERSION)); */ setTitle(std::string(APP_TITLE));
this->setIcon("romfs:/gui_icon.png"); this->setIcon("romfs:/gui_icon.png");
this->setFooterText("v" + std::string(APP_VERSION)); this->setFooterText("v" + std::string(APP_VERSION));