summaryrefslogtreecommitdiff
path: root/src/gui/widgets/sliderlist.h
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/sliderlist.h
parent799ff280e470e19fdb617f828962c49f561a22d7 (diff)
downloadplus-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.gz
plus-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.bz2
plus-f239185e8368da2a9307af11c98a09d1e47d79bb.tar.xz
plus-f239185e8368da2a9307af11c98a09d1e47d79bb.zip
move virtual member calls from sliderlist constuctor into postInit.
Diffstat (limited to 'src/gui/widgets/sliderlist.h')
-rw-r--r--src/gui/widgets/sliderlist.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/sliderlist.h b/src/gui/widgets/sliderlist.h
index 9209a4f55..8427ad2d5 100644
--- a/src/gui/widgets/sliderlist.h
+++ b/src/gui/widgets/sliderlist.h
@@ -38,14 +38,15 @@ class SliderList final : public Container,
{
public:
SliderList(const Widget2 *const widget,
- gcn::ListModel *const listModel = nullptr,
- gcn::ActionListener *const listener = nullptr,
- const std::string &eventId = "");
+ gcn::ListModel *const listModel = nullptr);
A_DELETE_COPY(SliderList)
~SliderList();
+ void postInit(gcn::ActionListener *const listener,
+ const std::string &eventId);
+
void updateAlpha();
void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent) override;