diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:42:03 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-15 20:38:03 +0900 |
commit | 3ec2ac7ee5d10c5bbc2d4d1af67c5be874f985a5 (patch) | |
tree | e9a8c6f5ad24556b5c2bc95ccc83dca76d2f19d1 /src/kvilib/ext | |
parent | 0130e6d75affbd5fb76eb3fde0f5a7a0e986c830 (diff) | |
download | kvirc-3ec2ac7ee5d10c5bbc2d4d1af67c5be874f985a5.tar.gz kvirc-3ec2ac7ee5d10c5bbc2d4d1af67c5be874f985a5.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
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(); |