summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2019-12-04 10:40:20 +0100
committerJan Niklas Hasse <jhasse@bixense.com>2019-12-05 08:57:43 +0100
commit92cf38018afe8f598f2c337c0d202f3767b04ead (patch)
tree5195855ac9b85d42726322952b29d7d87e184507 /qmake/main.cpp
parent7cf8c993c7d8702032a1d17425b2a261c9a56d6f (diff)
Quit application when QWindowsSystemTrayIcon receives WM_CLOSE
When an application only has a trayicon and is killed by `taskkill /IM binary.exe` the trayicon's HWND will receive a WM_CLOSE message. If we don't handle this, the tray icon will close anyway, but the app still runs in the task manager. Fixes: QTBUG-43855 Change-Id: I5f82a068df9c40360bd565a2681e1b37ff114e44 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'qmake/main.cpp')
0 files changed, 0 insertions, 0 deletions