diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-24 14:28:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-24 14:28:29 +0300 |
commit | d684a9bef13752dcbe9c142a6f54bafcba952289 (patch) | |
tree | 4a52ab3e231f76e98d032173834761cecfc8681a /src/gui | |
parent | 504f93b83e6f7448c5eb3fbcb421e94b7f34f699 (diff) | |
download | mv-d684a9bef13752dcbe9c142a6f54bafcba952289.tar.gz mv-d684a9bef13752dcbe9c142a6f54bafcba952289.tar.bz2 mv-d684a9bef13752dcbe9c142a6f54bafcba952289.tar.xz mv-d684a9bef13752dcbe9c142a6f54bafcba952289.zip |
Fix branding issues. Like incorrect default app name, not connecting to server.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/desktop.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index beb232fb2..b40558c78 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -48,10 +48,14 @@ Desktop::Desktop() : std::string appName = branding.getValue("appName", std::string("")); if (appName.empty()) + { mVersionLabel = new Label(FULL_VERSION); + } else - mVersionLabel = new Label(strprintf("%s (Mana %s)", appName.c_str(), - FULL_VERSION)); + { + mVersionLabel = new Label(strprintf("%s (%s)", FULL_VERSION, + appName.c_str())); + } mVersionLabel->setBackgroundColor( Theme::getThemeColor(Theme::BACKGROUND, 128)); |