summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 23:20:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commitf239185e8368da2a9307af11c98a09d1e47d79bb (patch)
tree8a9e6a9b0229df9935d6d4761ce4e67bed68f119 /src/gui/widgets/setupitem.cpp
parent799ff280e470e19fdb617f828962c49f561a22d7 (diff)
downloadmanaplus-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.gz
manaplus-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.bz2
manaplus-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.xz
manaplus-f239185e8368da2a9307af11c98a09d1e47d79bb.zip
move virtual member calls from sliderlist constuctor into postInit.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 862fc11d6..043d0870f 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -979,7 +979,8 @@ void SetupItemSliderList::createControls()
mHorizont = new HorizontContainer(this, 32, 2);
mLabel = new Label(this, mText);
- mSlider = new SliderList(this, mModel, mParent, mEventName);
+ mSlider = new SliderList(this, mModel);
+ mSlider->postInit(mParent, mEventName);
mSlider->setSelectedString(mValue);
mSlider->adjustSize();