summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-08-15 19:00:08 +0200
committerSlávek Banko <[email protected]>2023-08-16 04:09:12 +0200
commitcafbffba66b6ce809783ed1eb4d24aac6fe9701f (patch)
tree64ad43fe3863d23db01f8f8ca8084075c9cb1c8f /src/kvilib/ext
parent2c078f1888431b5ad02b3258684682fffc7cfa88 (diff)
downloadkvirc-cafbffba66b6ce809783ed1eb4d24aac6fe9701f.tar.gz
kvirc-cafbffba66b6ce809783ed1eb4d24aac6fe9701f.zip
Fix FTBFS from issue #9.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 17118265cf93b35b0b68e450ea5f43046c1d81c3)
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 e6adb801..17c2afb9 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(sender()));
+ int idx = m_pGarbageList->findRef(sender());
if(idx == -1)
{
tqDebug("Ops... unregistered garbage suicide");
return;
}
- m_pGarbageList->removeRef(TQT_TQOBJECT(sender()));
+ m_pGarbageList->removeRef(sender());
if(m_pGarbageList->isEmpty())
{
cleanup();