From d11d186e2275949a071c48b6a3a259848fbcb045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 15 Aug 2023 19:30:28 +0200 Subject: Fix FTBFS from issue #7. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ksquirrel/ksquirrelpart/sq_glwidget_stuff.cpp | 2 +- ksquirrel/sq_glwidget_stuff.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ksquirrel/ksquirrelpart/sq_glwidget_stuff.cpp b/ksquirrel/ksquirrelpart/sq_glwidget_stuff.cpp index 9389557..ed41772 100644 --- a/ksquirrel/ksquirrelpart/sq_glwidget_stuff.cpp +++ b/ksquirrel/ksquirrelpart/sq_glwidget_stuff.cpp @@ -996,7 +996,7 @@ void SQ_GLWidget::initAccelsAndMenu() void SQ_GLWidget::slotAccelActivated() { - TDEAction *accel = static_cast(TQT_TQOBJECT(sender())); + TDEAction *accel = static_cast(const_cast(sender())); TDEShortcut ks = accel->shortcut(); diff --git a/ksquirrel/sq_glwidget_stuff.cpp b/ksquirrel/sq_glwidget_stuff.cpp index 9389557..ed41772 100644 --- a/ksquirrel/sq_glwidget_stuff.cpp +++ b/ksquirrel/sq_glwidget_stuff.cpp @@ -996,7 +996,7 @@ void SQ_GLWidget::initAccelsAndMenu() void SQ_GLWidget::slotAccelActivated() { - TDEAction *accel = static_cast(TQT_TQOBJECT(sender())); + TDEAction *accel = static_cast(const_cast(sender())); TDEShortcut ks = accel->shortcut(); -- cgit v1.2.1