diff options
-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(); |