summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qformlayout.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-02-13 16:24:47 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-13 21:32:04 +0000
commit071a120400b17eaa0b414a0ed262b0a090908679 (patch)
treef80de8e9d15db1f84644a3e980a35c94daad2b51 /src/widgets/kernel/qformlayout.cpp
parent5c440880ba9846a137a436c864d958c4a8225c7a (diff)
Windows styles/wizard: Do not invoke winId() of desktop windows
Call the Win32 API GetDesktopWindow() to obtain a HWND of the desktop instead of calling QApplicationPrivate::getHWNDForWidget() for desktop windows. This allows for lazily creating desktop platform windows. Observed in some tests where no window is visible. Change-Id: I97074f69606b3d74f3fbc90acb4a077d52eeb84d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/kernel/qformlayout.cpp')
0 files changed, 0 insertions, 0 deletions