summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControlRuler.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-12 21:15:51 +0900
committerMichele Calgaro <[email protected]>2023-09-12 21:15:51 +0900
commit3d3dc041a570cd26154510785f50ffcd8cf56005 (patch)
treefb211b3d26e0eb950510c4119be7393552051ad1 /src/gui/rulers/ControlRuler.cpp
parent49df580e122b7b7e42d0c2668cdd8159fbc62648 (diff)
downloadrosegarden-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.cpp4
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;