diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 23:20:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | f239185e8368da2a9307af11c98a09d1e47d79bb (patch) | |
tree | 8a9e6a9b0229df9935d6d4761ce4e67bed68f119 /src/gui/widgets/setupitem.cpp | |
parent | 799ff280e470e19fdb617f828962c49f561a22d7 (diff) | |
download | manaverse-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.gz manaverse-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.bz2 manaverse-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.xz manaverse-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.cpp | 3 |
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(); |