diff --git a/source/main.cpp b/source/main.cpp index f7f1d42..d222bae 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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; diff --git a/source/options_tab.cpp b/source/options_tab.cpp index 0ae09e5..d5ac50a 100644 --- a/source/options_tab.cpp +++ b/source/options_tab.cpp @@ -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); diff --git a/source/root_view.cpp b/source/root_view.cpp index 205ac29..0fc8708 100644 --- a/source/root_view.cpp +++ b/source/root_view.cpp @@ -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();