diff options
author | Slávek Banko <[email protected]> | 2023-08-15 19:00:08 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2023-08-15 19:00:08 +0200 |
commit | 17118265cf93b35b0b68e450ea5f43046c1d81c3 (patch) | |
tree | 0bbf4dfa44cab001ead783055110f529a1874ba4 | |
parent | 3ec2ac7ee5d10c5bbc2d4d1af67c5be874f985a5 (diff) | |
download | kvirc-17118265cf93b35b0b68e450ea5f43046c1d81c3.tar.gz kvirc-17118265cf93b35b0b68e450ea5f43046c1d81c3.zip |
Fix FTBFS from issue #9.
Signed-off-by: Slávek Banko <[email protected]>
-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--; |