From 6148e60759606fe8c1d7037956a38b9a4427e8b2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:47:49 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- kdict/toplevel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdict') 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(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(sender()))->name(); + TQCString name = sender()->name(); if (!name.isEmpty()) interface->showDbInfo(name); } -- cgit v1.2.1