Fix wrong const
s in editcallbacks.h
(#5239)
This commit is contained in:
@@ -331,7 +331,7 @@ void Gradient::editToggled ()
|
||||
}
|
||||
}
|
||||
|
||||
const CursorShape Gradient::getCursor(const int objectID) const
|
||||
CursorShape Gradient::getCursor(int objectID) const
|
||||
{
|
||||
switch (objectID) {
|
||||
case (0):
|
||||
@@ -357,7 +357,7 @@ const CursorShape Gradient::getCursor(const int objectID) const
|
||||
}
|
||||
}
|
||||
|
||||
const bool Gradient::mouseOver(const int modifierKey)
|
||||
bool Gradient::mouseOver(int modifierKey)
|
||||
{
|
||||
EditDataProvider* editProvider = getEditProvider();
|
||||
|
||||
@@ -387,7 +387,7 @@ const bool Gradient::mouseOver(const int modifierKey)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Gradient::button1Pressed(const int modifierKey)
|
||||
bool Gradient::button1Pressed(int modifierKey)
|
||||
{
|
||||
if (lastObject < 0) {
|
||||
return false;
|
||||
@@ -466,7 +466,7 @@ bool Gradient::button1Released()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Gradient::drag1(const int modifierKey)
|
||||
bool Gradient::drag1(int modifierKey)
|
||||
{
|
||||
// compute the polar coordinate of the mouse position
|
||||
EditDataProvider *provider = getEditProvider();
|
||||
|
Reference in New Issue
Block a user