diff options
Diffstat (limited to 'src/newui/dmainwindow.cpp')
-rw-r--r-- | src/newui/dmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newui/dmainwindow.cpp b/src/newui/dmainwindow.cpp index d42c0d5f..55fd0a9c 100644 --- a/src/newui/dmainwindow.cpp +++ b/src/newui/dmainwindow.cpp @@ -295,7 +295,7 @@ DDockWindow::Position DMainWindow::dockWidgetPosition(TQWidget *view) void DMainWindow::widgetDestroyed() { - TQWidget *w = TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME*>(sender())); + TQWidget *w = TQT_TQWIDGET(const_cast<TQObject*>(sender())); if (m_docks.contains(w)) { |