diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-07 19:23:44 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-07 19:23:44 +0000 |
commit | fe082a00283cee09d8529449e86d21a45d80a671 (patch) | |
tree | 6ad84000c8c86ca11d46c6254237200f698d5a06 /kdecore/kwin.cpp | |
parent | 0761ef3c62e43ffed5a81854b7b45e579016f5b7 (diff) | |
download | tdelibs-fe082a00283cee09d8529449e86d21a45d80a671.tar.gz tdelibs-fe082a00283cee09d8529449e86d21a45d80a671.zip |
Cleanup / additional type specifiers
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1160322 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 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 ) { |