summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 00:40:44 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:19 +0300
commitaac2975ea79f75c403cf31ff37ac15c6ba601782 (patch)
tree8886d3193f68c7c5ddc728033d61ed08f2405466 /src/client.cpp
parent24373c5d2ab784edc253d904be1c10eacced135f (diff)
downloadmanaplus-aac2975ea79f75c403cf31ff37ac15c6ba601782.tar.gz
manaplus-aac2975ea79f75c403cf31ff37ac15c6ba601782.tar.bz2
manaplus-aac2975ea79f75c403cf31ff37ac15c6ba601782.tar.xz
manaplus-aac2975ea79f75c403cf31ff37ac15c6ba601782.zip
move virtual member calls from desktop constuctor into postInit.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index a3d07440a..09355f958 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1095,6 +1095,7 @@ int Client::gameExec()
break;
mDesktop = new Desktop(nullptr);
+ mDesktop->postInit();
top->add(mDesktop);
int x = top->getWidth() - mButtonPadding;
ADDBUTTON(mSetupButton, new Button(mDesktop,