diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-19 12:11:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-19 12:17:12 +0300 |
commit | 46fc225f65f7d11348fc9e94feb0cb6484b27cab (patch) | |
tree | f3158ad5b416b0e182bf8168e49b5ba3c2027d7c /src/gui/widgets/desktop.cpp | |
parent | 389f3a580e6641d8486a44f25d3443829f42408f (diff) | |
download | manaplus-46fc225f65f7d11348fc9e94feb0cb6484b27cab.tar.gz manaplus-46fc225f65f7d11348fc9e94feb0cb6484b27cab.tar.bz2 manaplus-46fc225f65f7d11348fc9e94feb0cb6484b27cab.tar.xz manaplus-46fc225f65f7d11348fc9e94feb0cb6484b27cab.zip |
Fix overload virtual function BasicContainer2::add.
Diffstat (limited to 'src/gui/widgets/desktop.cpp')
-rw-r--r-- | src/gui/widgets/desktop.cpp | 5 |
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); } } |