diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:48:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 16:30:54 +0900 |
commit | f5f1b89f8bda3b5d5f57255b04da3a7626154e58 (patch) | |
tree | 0249fbe2d397f8f6c05a2ec7fbe7f5bc8d1beee1 /tdewallet | |
parent | 9b8380e617ad740085310208e3be24b42614f661 (diff) | |
download | tdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.tar.gz tdeutils-f5f1b89f8bda3b5d5f57255b04da3a7626154e58.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 2c7c646af5349a9a68c2f129fda7af338855ba85)
Diffstat (limited to 'tdewallet')
-rw-r--r-- | tdewallet/kwmapeditor.cpp | 4 |
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; } |