diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
commit | 9502e9c968fac129ab57d7b0496c874086995b04 (patch) | |
tree | 3709ed6883222be555d39f7a606b674fb67ebb52 /src/gui/widgets/sliderlist.cpp | |
parent | e3ec854f275cc6f79129bbdd3129be277100908f (diff) | |
download | manaplus-9502e9c968fac129ab57d7b0496c874086995b04.tar.gz manaplus-9502e9c968fac129ab57d7b0496c874086995b04.tar.bz2 manaplus-9502e9c968fac129ab57d7b0496c874086995b04.tar.xz manaplus-9502e9c968fac129ab57d7b0496c874086995b04.zip |
move actionlistener from base into listeners.
Diffstat (limited to 'src/gui/widgets/sliderlist.cpp')
-rw-r--r-- | src/gui/widgets/sliderlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/sliderlist.cpp b/src/gui/widgets/sliderlist.cpp index b75f65820..0ae0890dc 100644 --- a/src/gui/widgets/sliderlist.cpp +++ b/src/gui/widgets/sliderlist.cpp @@ -36,7 +36,7 @@ static const int sliderHeight = 30; SliderList::SliderList(const Widget2 *const widget, gcn::ListModel *const listModel) : Container(widget), - gcn::ActionListener(), + ActionListener(), gcn::MouseListener(), mLabel(new Label(this)), mListModel(listModel), @@ -48,7 +48,7 @@ SliderList::SliderList(const Widget2 *const widget, setHeight(sliderHeight); } -void SliderList::postInit(gcn::ActionListener *const listener, +void SliderList::postInit(ActionListener *const listener, const std::string &eventId) { mPrevEventId = eventId + "_prev"; |