summaryrefslogtreecommitdiff
path: root/src/gui/windows/emotewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 11:59:13 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:19 +0300
commit8319916c8521b2611d8b877167c3fb612c22b37d (patch)
tree2aab059780cc395951e0e733a10e1ecbe3dd0552 /src/gui/windows/emotewindow.cpp
parent3e09a2b6fcfef5582eff798f2c4299f706dbd5e7 (diff)
downloadplus-8319916c8521b2611d8b877167c3fb612c22b37d.tar.gz
plus-8319916c8521b2611d8b877167c3fb612c22b37d.tar.bz2
plus-8319916c8521b2611d8b877167c3fb612c22b37d.tar.xz
plus-8319916c8521b2611d8b877167c3fb612c22b37d.zip
move virtual member calls from emotewindow constuctor into postInit.
Diffstat (limited to 'src/gui/windows/emotewindow.cpp')
-rw-r--r--src/gui/windows/emotewindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/emotewindow.cpp b/src/gui/windows/emotewindow.cpp
index cdff2d31d..405aff746 100644
--- a/src/gui/windows/emotewindow.cpp
+++ b/src/gui/windows/emotewindow.cpp
@@ -61,6 +61,10 @@ EmoteWindow::EmoteWindow() :
setResizable(true);
addMouseListener(this);
+}
+
+void EmoteWindow::postInit()
+{
const int pad2 = mPadding * 2;
const int width = 200;
const int height = 150;