diff options
Diffstat (limited to 'tdeio/tdeio/scheduler.cpp')
-rw-r--r-- | tdeio/tdeio/scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeio/tdeio/scheduler.cpp b/tdeio/tdeio/scheduler.cpp index 3935a91cf..77e6eed99 100644 --- a/tdeio/tdeio/scheduler.cpp +++ b/tdeio/tdeio/scheduler.cpp @@ -865,7 +865,7 @@ Scheduler::_registerWindow(TQWidget *wid) if (!wid) return; - TQObject *obj = TQT_TQOBJECT(wid); + TQObject *obj = wid; if (!m_windowList.contains(obj)) { // We must store the window Id because by the time @@ -873,7 +873,7 @@ Scheduler::_registerWindow(TQWidget *wid) // access TQWidget::winId() (already destructed) WId windowId = wid->winId(); m_windowList.insert(obj, windowId); - connect(TQT_TQOBJECT(wid), TQT_SIGNAL(destroyed(TQObject *)), + connect(wid, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(slotUnregisterWindow(TQObject*))); TQByteArray params; TQDataStream stream(params, IO_WriteOnly); |