diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:32:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 02:32:50 +0900 |
commit | 138bb80efac020c7e78871d3f05127eb37f18274 (patch) | |
tree | 511cf17073aacacc4e752395839e84c6bbcab3bb /tdecore/twin.cpp | |
parent | 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (diff) | |
download | tdelibs-138bb80efac020c7e78871d3f05127eb37f18274.tar.gz tdelibs-138bb80efac020c7e78871d3f05127eb37f18274.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdecore/twin.cpp')
-rw-r--r-- | tdecore/twin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/twin.cpp b/tdecore/twin.cpp index 7b59ef7d4..fc6358351 100644 --- a/tdecore/twin.cpp +++ b/tdecore/twin.cpp @@ -310,7 +310,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 + if( tqt_cast< TQDialog* >( subwindow ) != NULL && subwindow->parentWidget() == NULL && kapp->mainWidget() != NULL ) { |