summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowscontext.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-10 16:15:03 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-16 15:30:02 +0000
commit2b34aefcf02f09253473b096eb4faffd3e62b5f4 (patch)
treecf8a3ae12a21a3d550f27d4ad3c6279ec35af3c5 /src/plugins/platforms/windows/qwindowscontext.cpp
parent46d060f588a2b90feb833c2bcf093e6964c02367 (diff)
Lazily create QPlatformWindow for Qt::Desktop windows
QDesktopWidget only needs a QWindow to access its screen, and has no use for the platform window. To keep old code working that may have called winId() on the QDekstopWidget we still ensure it gets created lazily, even if that will just create hidden fake windows on many platforms. Change-Id: I2d05b96dfeebeaf3f1278cfef6301ef4cb855a57 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowscontext.cpp')
0 files changed, 0 insertions, 0 deletions