diff options
Diffstat (limited to 'kdict/toplevel.cpp')
-rw-r--r-- | kdict/toplevel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdict/toplevel.cpp b/kdict/toplevel.cpp index 46e4f02a..7f05207b 100644 --- a/kdict/toplevel.cpp +++ b/kdict/toplevel.cpp @@ -521,7 +521,7 @@ void TopLevel::buildHistMenu() // process a query via the history menu void TopLevel::queryHistMenu() { - TQCString name = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); + TQCString name = sender()->name(); if (!name.isEmpty()) define(TQString::fromUtf8(name)); } @@ -557,7 +557,7 @@ void TopLevel::stratDbChanged() void TopLevel::dbInfoMenuClicked() { - TQCString name = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); + TQCString name = sender()->name(); if (!name.isEmpty()) interface->showDbInfo(name); } |