diff options
Diffstat (limited to 'kdecore/kwin.cpp')
-rw-r--r-- | kdecore/kwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/kwin.cpp b/kdecore/kwin.cpp index 01f942aac..fa68da63c 100644 --- a/kdecore/kwin.cpp +++ b/kdecore/kwin.cpp @@ -311,7 +311,7 @@ void KWin::setMainWindow( TQWidget* subwindow, WId mainwindow ) Grmbl. See TQDialog::show(). That should get fixed in Qt somehow. */ if( tqqt_cast< TQDialog* >( subwindow ) != NULL - && subwindow->tqparentWidget() == NULL + && subwindow->parentWidget() == NULL && kapp->mainWidget() != NULL ) { kdWarning() << "KWin::setMainWindow(): There either mustn't be kapp->mainWidget()," |