summaryrefslogtreecommitdiffstats
path: root/kdecore/kwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kwin.cpp')
-rw-r--r--kdecore/kwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kwin.cpp b/kdecore/kwin.cpp
index 64be09d30..bc9a9761b 100644
--- a/kdecore/kwin.cpp
+++ b/kdecore/kwin.cpp
@@ -312,7 +312,7 @@ void KWin::setMainWindow( TQWidget* subwindow, WId mainwindow )
/*
Grmbl. See TQDialog::show(). That should get fixed in Qt somehow.
*/
- if( qt_cast< TQDialog* >( subwindow ) != NULL
+ if( tqqt_cast< TQDialog* >( subwindow ) != NULL
&& subwindow->parentWidget() == NULL
&& kapp->mainWidget() != NULL )
{