diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:42:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-15 21:01:21 +0900 |
commit | 2c078f1888431b5ad02b3258684682fffc7cfa88 (patch) | |
tree | 68c2fbac03297c5e1efe354a39946a028a4ef02e /src/kvilib/ext | |
parent | c49086f688a52b2b466951b228b85af92ae64cc7 (diff) | |
download | kvirc-2c078f1888431b5ad02b3258684682fffc7cfa88.tar.gz kvirc-2c078f1888431b5ad02b3258684682fffc7cfa88.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3ec2ac7ee5d10c5bbc2d4d1af67c5be874f985a5)
Diffstat (limited to 'src/kvilib/ext')
-rw-r--r-- | src/kvilib/ext/kvi_garbage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvilib/ext/kvi_garbage.cpp b/src/kvilib/ext/kvi_garbage.cpp index 6f13aa97..e6adb801 100644 --- a/src/kvilib/ext/kvi_garbage.cpp +++ b/src/kvilib/ext/kvi_garbage.cpp @@ -62,13 +62,13 @@ void KviGarbageCollector::garbageSuicide() tqDebug("Ops... garbage suicide while no garbage list"); return; } - int idx = m_pGarbageList->findRef(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))); + int idx = m_pGarbageList->findRef(TQT_TQOBJECT(sender())); if(idx == -1) { tqDebug("Ops... unregistered garbage suicide"); return; } - m_pGarbageList->removeRef(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))); + m_pGarbageList->removeRef(TQT_TQOBJECT(sender())); if(m_pGarbageList->isEmpty()) { cleanup(); |