diff options
Diffstat (limited to 'src/gui/rulers')
-rw-r--r-- | src/gui/rulers/ControlRuler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/rulers/ControlRuler.cpp b/src/gui/rulers/ControlRuler.cpp index 06ffcb8..cf79f33 100644 --- a/src/gui/rulers/ControlRuler.cpp +++ b/src/gui/rulers/ControlRuler.cpp @@ -184,7 +184,7 @@ void ControlRuler::contentsMousePressEvent(TQMouseEvent* e) // clear selection unless control was pressed, in which case // add the event to the current selection - if (!(e->state() && TQ_ControlButton)) { + if (!(e->state() && ControlButton)) { clearSelectedItems(); } @@ -214,7 +214,7 @@ void ControlRuler::contentsMousePressEvent(TQMouseEvent* e) } else { // select it - if (!(e->state() && TQ_ControlButton)) { + if (!(e->state() && ControlButton)) { if (item->z() > topItem->z()) topItem = item; |