diff options
Diffstat (limited to 'libkonq/knewmenu.cpp')
-rw-r--r-- | libkonq/knewmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkonq/knewmenu.cpp b/libkonq/knewmenu.cpp index 621b1f614..042bb4e92 100644 --- a/libkonq/knewmenu.cpp +++ b/libkonq/knewmenu.cpp @@ -368,11 +368,11 @@ void KNewMenu::slotNewDir() void KNewMenu::slotNewFile() { - int id = TQString( TQT_TQOBJECT_CONST(sender())->name() + 7 ).toInt(); // skip "newmenu" + int id = TQString( sender()->name() + 7 ).toInt(); // skip "newmenu" if (id == 0) { // run the command for the templates - KRun::runCommand(TQString(TQT_TQOBJECT_CONST(sender())->name())); + KRun::runCommand(TQString(sender()->name())); return; } |