diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-08-15 19:00:08 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-08-16 04:09:12 +0200 |
commit | cafbffba66b6ce809783ed1eb4d24aac6fe9701f (patch) | |
tree | 64ad43fe3863d23db01f8f8ca8084075c9cb1c8f /src | |
parent | 2c078f1888431b5ad02b3258684682fffc7cfa88 (diff) | |
download | kvirc-cafbffba66b6ce809783ed1eb4d24aac6fe9701f.tar.gz kvirc-cafbffba66b6ce809783ed1eb4d24aac6fe9701f.zip |
Fix FTBFS from issue #9.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 17118265cf93b35b0b68e450ea5f43046c1d81c3)
Diffstat (limited to 'src')
-rw-r--r-- | src/kvilib/ext/kvi_garbage.cpp | 4 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_customtoolbar.cpp | 2 | ||||
-rw-r--r-- | src/kvirc/ui/kvi_frame.cpp | 4 | ||||
-rw-r--r-- | src/modules/options/instances.cpp | 2 |
4 files changed, 6 insertions, 6 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(); diff --git a/src/kvirc/ui/kvi_customtoolbar.cpp b/src/kvirc/ui/kvi_customtoolbar.cpp index 83a6da1c..844b0e2e 100644 --- a/src/kvirc/ui/kvi_customtoolbar.cpp +++ b/src/kvirc/ui/kvi_customtoolbar.cpp @@ -136,7 +136,7 @@ void KviCustomToolBar::paintEvent(TQPaintEvent * e) void KviCustomToolBar::filteredChildDestroyed() { if(!m_pFilteredChildren)return; - const TQObject * o = TQT_TQOBJECT(sender()); + const TQObject * o = sender(); m_pFilteredChildren->remove((void *)o); } diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp index fffb4649..6cca7b8e 100644 --- a/src/kvirc/ui/kvi_frame.cpp +++ b/src/kvirc/ui/kvi_frame.cpp @@ -417,7 +417,7 @@ KviAccel * KviFrame::installAccelerators(TQWidget * wnd) void KviFrame::accelActivated(int id) { - KviAccel * acc = (KviAccel *)TQT_TQOBJECT(sender()); + KviAccel * acc = (KviAccel *)sender(); int keys = (int)(acc->key(id)); KviTaskBarItem *item = 0; @@ -1139,7 +1139,7 @@ void KviFrame::customizeToolBars() void KviFrame::toolbarsPopupSelected(int id) { - const TQObject * o = TQT_TQOBJECT(sender()); + const TQObject * o = sender(); if(!o)return; if(!o->inherits("KviTalPopupMenu"))return; const KviTalPopupMenu * p = (const KviTalPopupMenu *)o; diff --git a/src/modules/options/instances.cpp b/src/modules/options/instances.cpp index a91cf149..d08b7a2a 100644 --- a/src/modules/options/instances.cpp +++ b/src/modules/options/instances.cpp @@ -3489,7 +3489,7 @@ void KviOptionsInstanceManager::cleanup(KviModule * m) void KviOptionsInstanceManager::widgetDestroyed() { - KviOptionsWidgetInstanceEntry * e = findInstanceEntry(TQT_TQOBJECT(sender()),m_pInstanceTree); + KviOptionsWidgetInstanceEntry * e = findInstanceEntry(sender(),m_pInstanceTree); if(e)e->pWidget = 0; if(g_iOptionWidgetInstances > 0)g_iOptionWidgetInstances--; |