summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControlRuler.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 21:15:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-12 22:27:34 +0900
commit7d34c9951c402a4c22da5597ed2e72f3caf66938 (patch)
treefb211b3d26e0eb950510c4119be7393552051ad1 /src/gui/rulers/ControlRuler.cpp
parent6be0f33ee516e0289e75604982ead3784dacec87 (diff)
downloadrosegarden-r14.1.1.tar.gz
rosegarden-r14.1.1.zip
Replace various tqtinterface's TQ_* defines with actual typesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3d3dc041a570cd26154510785f50ffcd8cf56005)
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;