Fix FTBFS from issue #9.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/10/head
Slávek Banko 1 year ago
parent 3ec2ac7ee5
commit 17118265cf
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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();

@ -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);
}

@ -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;

@ -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--;

Loading…
Cancel
Save