qt5base-lts/src
Rafael Roquetto 04d296d641 QNX: Only set parent window if it is not NULL
There are cases where a widget has a parent, but is also a toplevel window at
the same time, causing the system window to have no parent.
For instance, a QMenu usually has a QMenuBar as a parent, however QMenuBar
itself does not have its own platform window, as opposed to QMenu. Thus
QMenuBar::parent == QMainWindow (for example), but QMenuBar::platformWindow ==
0x0; QMenu::parent == QMenuBar, but QMenu::platformWindow != 0x0 (which is
QMenuBar's value).

Change-Id: Ib203fa1b85f5f20ef53366c80d6752d6384a202d
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
2012-10-01 09:41:35 +02:00
..
3rdparty Remove Windows CE time conversion compatibility functions 2012-09-26 07:11:01 +02:00
concurrent Move QFutureSynchronizer back to QtCore 2012-09-28 23:50:10 +02:00
corelib Return QPersistentModelIndexes from QItemSelectionRange. 2012-10-01 09:38:31 +02:00
dbus qdbusmetatype_p.h: add missing QT_NO_DBUS guards 2012-09-24 21:28:40 +02:00
gui Emit layout change hint from QStandardItemModel. 2012-09-30 18:30:05 +02:00
network Workaround MSVC2008 build failure after switching to std::lower_bound 2012-09-27 15:47:21 +02:00
opengl Added QGLPixelBuffer implementation using framebuffer objects. 2012-09-27 18:35:55 +02:00
platformsupport Accessibility: rather than assert, just warn. 2012-09-27 23:51:30 +02:00
plugins QNX: Only set parent window if it is not NULL 2012-10-01 09:41:35 +02:00
printsupport Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
sql fix indentation 2012-09-28 16:02:20 +02:00
testlib TestLib: Fix MinGW compile warning 2012-09-28 07:32:21 +02:00
tools qdoc: Augment imagedirs list 2012-09-29 02:31:35 +02:00
widgets Mac: Fix label margins in QGroupBox 2012-09-28 12:46:43 +02:00
winmain Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
xml Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
src.pro src.pro: remove redundant & incorrect platformsupport dependency 2012-08-25 10:29:53 +02:00