diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-21 19:45:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-21 19:45:48 +0300 |
commit | 60b40c0c68e9cffbc5f48d4f672d99009488f8b1 (patch) | |
tree | 7d2efefb965c0ae928eb80313f2f37fa34cf42b4 /src/gui/widgets/sliderlist.cpp | |
parent | 3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173 (diff) | |
download | plus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.gz plus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.bz2 plus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.xz plus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.zip |
Rename mouseEvent variables into event.
Diffstat (limited to 'src/gui/widgets/sliderlist.cpp')
-rw-r--r-- | src/gui/widgets/sliderlist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/sliderlist.cpp b/src/gui/widgets/sliderlist.cpp index 6782e789c..76e6b54c3 100644 --- a/src/gui/widgets/sliderlist.cpp +++ b/src/gui/widgets/sliderlist.cpp @@ -82,16 +82,16 @@ void SliderList::updateAlpha() Button::updateAlpha(); } -void SliderList::mouseWheelMovedUp(MouseEvent& mouseEvent) +void SliderList::mouseWheelMovedUp(MouseEvent& event) { setSelected(mSelectedIndex - 1); - mouseEvent.consume(); + event.consume(); } -void SliderList::mouseWheelMovedDown(MouseEvent& mouseEvent) +void SliderList::mouseWheelMovedDown(MouseEvent& event) { setSelected(mSelectedIndex + 1); - mouseEvent.consume(); + event.consume(); } void SliderList::resize() |