summaryrefslogtreecommitdiffstats
path: root/tdewallet/kwmapeditor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 16:30:54 +0900
commitf5f1b89f8bda3b5d5f57255b04da3a7626154e58 (patch)
tree0249fbe2d397f8f6c05a2ec7fbe7f5bc8d1beee1 /tdewallet/kwmapeditor.cpp
parent9b8380e617ad740085310208e3be24b42614f661 (diff)
downloadtdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.tar.gz
tdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2c7c646af5349a9a68c2f129fda7af338855ba85)
Diffstat (limited to 'tdewallet/kwmapeditor.cpp')
-rw-r--r--tdewallet/kwmapeditor.cpp4
1 files changed, 2 insertions, 2 deletions
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<TQT_BASE_OBJECT_NAME*>(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;
}