summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-24 14:28:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-24 14:28:29 +0300
commitd684a9bef13752dcbe9c142a6f54bafcba952289 (patch)
tree4a52ab3e231f76e98d032173834761cecfc8681a /src/gui
parent504f93b83e6f7448c5eb3fbcb421e94b7f34f699 (diff)
downloadplus-d684a9bef13752dcbe9c142a6f54bafcba952289.tar.gz
plus-d684a9bef13752dcbe9c142a6f54bafcba952289.tar.bz2
plus-d684a9bef13752dcbe9c142a6f54bafcba952289.tar.xz
plus-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.cpp8
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));