diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-08-15 19:30:28 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-08-15 19:30:28 +0200 |
commit | d11d186e2275949a071c48b6a3a259848fbcb045 (patch) | |
tree | d1c4330de6959030855ee9eb03e1f5ffc2e447f4 | |
parent | b6cc37b113df5b25e7c10176aad2e9482045e6f9 (diff) | |
download | ksquirrel-d11d186e2275949a071c48b6a3a259848fbcb045.tar.gz ksquirrel-d11d186e2275949a071c48b6a3a259848fbcb045.zip |
Fix FTBFS from issue #7.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | ksquirrel/ksquirrelpart/sq_glwidget_stuff.cpp | 2 | ||||
-rw-r--r-- | 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<TDEAction *>(TQT_TQOBJECT(sender())); + TDEAction *accel = static_cast<TDEAction *>(const_cast<TQObject *>(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<TDEAction *>(TQT_TQOBJECT(sender())); + TDEAction *accel = static_cast<TDEAction *>(const_cast<TQObject *>(sender())); TDEShortcut ks = accel->shortcut(); |