diff --git a/rtgui/controlspotpanel.cc b/rtgui/controlspotpanel.cc index ee0a07132..e4e71153f 100644 --- a/rtgui/controlspotpanel.cc +++ b/rtgui/controlspotpanel.cc @@ -1388,7 +1388,7 @@ CursorShape ControlSpotPanel::getCursor(int objectID) } } -const bool ControlSpotPanel::mouseOver(int modifierKey) +bool ControlSpotPanel::mouseOver(int modifierKey) { EditDataProvider* editProvider_ = getEditProvider(); const auto s = treeview_.get_selection(); diff --git a/rtgui/controlspotpanel.h b/rtgui/controlspotpanel.h index 7a0e2aa60..0c9e72d25 100644 --- a/rtgui/controlspotpanel.h +++ b/rtgui/controlspotpanel.h @@ -249,7 +249,7 @@ private: void updateControlSpotCurve(Gtk::TreeModel::Row row); void deleteControlSpotCurve(Gtk::TreeModel::Row row); CursorShape getCursor(int objectID); - const bool mouseOver(int modifierKey); + bool mouseOver(int modifierKey); bool button1Pressed(int modifierKey); bool button1Released(); bool drag1(int modifierKey);