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-16 04:06:24 +0200 |
commit | a3bef2114dbc7861a3069851b3af3c6eac44c652 (patch) | |
tree | 528a95845a31ef5a22a8b56b60c4fb243ebed505 | |
parent | 446eea7917d49d7b9b8df04220505ff2dd69d659 (diff) | |
download | ksquirrel-a3bef2114dbc7861a3069851b3af3c6eac44c652.tar.gz ksquirrel-a3bef2114dbc7861a3069851b3af3c6eac44c652.zip |
Fix FTBFS from issue #7.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d11d186e2275949a071c48b6a3a259848fbcb045)
-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(); |