diff options
author | Michele Calgaro <[email protected]> | 2023-09-12 21:15:51 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-12 21:15:51 +0900 |
commit | 3d3dc041a570cd26154510785f50ffcd8cf56005 (patch) | |
tree | fb211b3d26e0eb950510c4119be7393552051ad1 /src/gui/rulers/ControlRuler.cpp | |
parent | 49df580e122b7b7e42d0c2668cdd8159fbc62648 (diff) | |
download | rosegarden-3d3dc041a570cd26154510785f50ffcd8cf56005.tar.gz rosegarden-3d3dc041a570cd26154510785f50ffcd8cf56005.zip |
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/rulers/ControlRuler.cpp')
-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; |