summaryrefslogtreecommitdiffstats
path: root/apps/ktorrent/newui/dmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ktorrent/newui/dmainwindow.cpp')
-rw-r--r--apps/ktorrent/newui/dmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ktorrent/newui/dmainwindow.cpp b/apps/ktorrent/newui/dmainwindow.cpp
index b2df871..ffab197 100644
--- a/apps/ktorrent/newui/dmainwindow.cpp
+++ b/apps/ktorrent/newui/dmainwindow.cpp
@@ -306,7 +306,7 @@ DDockWindow::Position DMainWindow::dockWidgetPosition(TQWidget *view)
void DMainWindow::widgetDestroyed()
{
- TQWidget *w = TQT_TQWIDGET(const_cast<TQObject*>(sender()));
+ TQWidget *w = static_cast<TQWidget*>(const_cast<TQObject*>(sender()));
if (m_docks.contains(w))
{