summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:42:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-15 21:01:21 +0900
commit2c078f1888431b5ad02b3258684682fffc7cfa88 (patch)
tree68c2fbac03297c5e1efe354a39946a028a4ef02e /src/kvilib/ext
parentc49086f688a52b2b466951b228b85af92ae64cc7 (diff)
downloadkvirc-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.cpp4
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();