From f5f1b89f8bda3b5d5f57255b04da3a7626154e58 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:48:25 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro (cherry picked from commit 2c7c646af5349a9a68c2f129fda7af338855ba85) --- tdewallet/kwmapeditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdewallet') diff --git a/tdewallet/kwmapeditor.cpp b/tdewallet/kwmapeditor.cpp index a6c09b4..32ff65e 100644 --- a/tdewallet/kwmapeditor.cpp +++ b/tdewallet/kwmapeditor.cpp @@ -76,9 +76,9 @@ KWMapEditor::~KWMapEditor() { void KWMapEditor::erase() { - const TQObject *o = TQT_TQOBJECT(const_cast(sender())); + const TQObject *o = sender(); for (int i = 0; i < numRows(); i++) { - if (TQT_BASE_OBJECT_CONST(cellWidget(i, 0)) == TQT_BASE_OBJECT_CONST(o)) { + if (cellWidget(i, 0) == o) { removeRow(i); break; } -- cgit v1.2.1