From 4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 9 Aug 2023 15:33:59 +0900 Subject: Drop TQT_TQ*_CONST defines Signed-off-by: Michele Calgaro (cherry picked from commit 5f88991f1f2ff15f859d2cbd701f26c378841fe0) --- src/gui/editors/matrix/MatrixView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/editors/matrix/MatrixView.cpp') 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(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(sender())); + const TQObject *s = sender(); TQString name = s->name(); if (name.left(5) == "snap_") { -- cgit v1.2.1