summaryrefslogtreecommitdiffstats
path: root/src/gui/editors
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:43:15 +0900
committerMichele Calgaro <[email protected]>2023-08-16 23:26:07 +0900
commit45016a2fba12ee4dc9ff29854504ae79a24fda11 (patch)
treefbe69ff562e758268f3be479356b48b03e67bbd2 /src/gui/editors
parent4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca (diff)
downloadrosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.tar.gz
rosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 2ec11ba03e87e734e3fa95f59385049feb82098b)
Diffstat (limited to 'src/gui/editors')
-rw-r--r--src/gui/editors/matrix/MatrixView.cpp2
-rw-r--r--src/gui/editors/notation/NotationView.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp
index 9436beb..972ed08 100644
--- a/src/gui/editors/matrix/MatrixView.cpp
+++ b/src/gui/editors/matrix/MatrixView.cpp
@@ -2946,7 +2946,7 @@ MatrixView::slotStepByStepTargetRequested(TQObject *obj)
MATRIX_DEBUG << "WARNING: No toggle_step_by_step action" << endl;
return ;
}
- action->setChecked(TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this));
+ action->setChecked(obj == this);
}
void
diff --git a/src/gui/editors/notation/NotationView.cpp b/src/gui/editors/notation/NotationView.cpp
index 05c48c0..e5d84c5 100644
--- a/src/gui/editors/notation/NotationView.cpp
+++ b/src/gui/editors/notation/NotationView.cpp
@@ -7374,7 +7374,7 @@ NotationView::slotStepByStepTargetRequested(TQObject *obj)
NOTATION_DEBUG << "WARNING: No toggle_step_by_step action" << endl;
return ;
}
- action->setChecked(TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this));
+ action->setChecked(obj == this);
}
void