diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 15:33:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 17:33:19 +0900 |
commit | 4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca (patch) | |
tree | 0aa70c48242a531460dd0bdf48e9d4d9c186a5e5 /src/gui/editors/matrix/MatrixView.cpp | |
parent | 3cf378261390af7e6c9379e6ed941704a5db0c69 (diff) | |
download | rosegarden-4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca.tar.gz rosegarden-4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca.zip |
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5f88991f1f2ff15f859d2cbd701f26c378841fe0)
Diffstat (limited to 'src/gui/editors/matrix/MatrixView.cpp')
-rw-r--r-- | src/gui/editors/matrix/MatrixView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp index 8d25ec9..9436beb 100644 --- a/src/gui/editors/matrix/MatrixView.cpp +++ b/src/gui/editors/matrix/MatrixView.cpp @@ -1808,7 +1808,7 @@ void MatrixView::slotVerticalScrollPianoKeyboard(int y) void MatrixView::slotInsertNoteFromAction() { - const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender())); + const TQObject *s = sender(); TQString name = s->name(); Segment &segment = *getCurrentSegment(); @@ -2015,7 +2015,7 @@ MatrixView::slotSetSnapFromIndex(int s) void MatrixView::slotSetSnapFromAction() { - const TQObject *s = TQT_TQOBJECT_CONST(const_cast<const TQT_BASE_OBJECT_NAME*>(sender())); + const TQObject *s = sender(); TQString name = s->name(); if (name.left(5) == "snap_") { |