mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-12-27 19:06:01 +00:00
Set common footer.
This commit is contained in:
parent
3e3469b471
commit
3dffce2995
3 changed files with 4 additions and 2 deletions
|
@ -34,11 +34,15 @@ int main(int argc, char *argv[])
|
|||
if (!utilsInitializeResources(argc, (const char**)argv)) return EXIT_FAILURE;
|
||||
|
||||
/* Set Borealis log level. */
|
||||
/* TODO: rework this before release. */
|
||||
brls::Logger::setLogLevel(brls::LogLevel::DEBUG);
|
||||
|
||||
/* Load Borealis translation files. */
|
||||
brls::i18n::loadTranslations();
|
||||
|
||||
/* Set common footer. */
|
||||
brls::Application::setCommonFooter("v" APP_VERSION " (" GIT_REV ")");
|
||||
|
||||
/* Initialize Borealis. */
|
||||
if (!brls::Application::init(APP_TITLE)) return EXIT_FAILURE;
|
||||
|
||||
|
|
|
@ -181,7 +181,6 @@ namespace nxdt::views
|
|||
/* Set UI properties. */
|
||||
this->setTitle("options_tab/update_app/label"_i18n);
|
||||
this->setIcon(BOREALIS_ASSET("icon/" APP_TITLE ".jpg"));
|
||||
this->setFooterText("v" APP_VERSION " (" GIT_REV ")");
|
||||
|
||||
/* Add first stage. */
|
||||
this->wait_lbl = new brls::Label(brls::LabelStyle::DIALOG, "options_tab/update_app/frame/please_wait"_i18n, false);
|
||||
|
|
|
@ -38,7 +38,6 @@ namespace nxdt::views
|
|||
/* Set UI properties. */
|
||||
this->setTitle(APP_TITLE);
|
||||
this->setIcon(BOREALIS_ASSET("icon/" APP_TITLE ".jpg"));
|
||||
this->setFooterText("v" APP_VERSION " (" GIT_REV ")");
|
||||
|
||||
/* Check if we're running under applet mode. */
|
||||
this->applet_mode = utilsAppletModeCheck();
|
||||
|
|
Loading…
Reference in a new issue