diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:47:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-17 14:53:20 +0900 |
commit | 6148e60759606fe8c1d7037956a38b9a4427e8b2 (patch) | |
tree | d37ae6133be1967a9aaa8d97150b6e9a2d706085 /kdict | |
parent | 214a5ef176c1b0f20402da9ddf018052f3b89fa5 (diff) | |
download | tdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.tar.gz tdenetwork-6148e60759606fe8c1d7037956a38b9a4427e8b2.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdict')
-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); } |