From f239185e8368da2a9307af11c98a09d1e47d79bb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 23:20:45 +0300 Subject: move virtual member calls from sliderlist constuctor into postInit. --- src/gui/widgets/setupitem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/setupitem.cpp') 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(); -- cgit v1.2.3-70-g09d2