summaryrefslogtreecommitdiff
path: root/src/gui/widgets/desktop.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-19 12:11:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-19 12:17:12 +0300
commit46fc225f65f7d11348fc9e94feb0cb6484b27cab (patch)
treef3158ad5b416b0e182bf8168e49b5ba3c2027d7c /src/gui/widgets/desktop.cpp
parent389f3a580e6641d8486a44f25d3443829f42408f (diff)
downloadmanaverse-46fc225f65f7d11348fc9e94feb0cb6484b27cab.tar.gz
manaverse-46fc225f65f7d11348fc9e94feb0cb6484b27cab.tar.bz2
manaverse-46fc225f65f7d11348fc9e94feb0cb6484b27cab.tar.xz
manaverse-46fc225f65f7d11348fc9e94feb0cb6484b27cab.zip
Fix overload virtual function BasicContainer2::add.
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r--src/gui/widgets/desktop.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp
index ef7459b0c..3f79d1531 100644
--- a/src/gui/widgets/desktop.cpp
+++ b/src/gui/widgets/desktop.cpp
@@ -93,12 +93,13 @@ void Desktop::postInit()
{
if (mSkin)
{
- add(mVersionLabel, mSkin->getOption("versionX", 25),
+ addXY(mVersionLabel,
+ mSkin->getOption("versionX", 25),
mSkin->getOption("versionY", 2));
}
else
{
- add(mVersionLabel, 25, 2);
+ addXY(mVersionLabel, 25, 2);
}
}