summaryrefslogtreecommitdiffstats
path: root/tdewallet
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 11:25:20 +0900
commit2c7c646af5349a9a68c2f129fda7af338855ba85 (patch)
tree36853a1916641351a322dd78de1aaa787c70601c /tdewallet
parent16b9b38e0267f80b68a78d861d111ca182551d5c (diff)
downloadtdeutils-2c7c646af5349a9a68c2f129fda7af338855ba85.tar.gz
tdeutils-2c7c646af5349a9a68c2f129fda7af338855ba85.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdewallet')
-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;
}