summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbconnection.cpp
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2018-09-19 11:14:10 +0200
committerGatis Paeglis <gatis.paeglis@qt.io>2018-10-16 06:56:47 +0000
commitdd8a66daa497f0547f2fcddc0ee1e722d13ab98b (patch)
treeb42401006509cc29833c40ec3561f1f0f95273f9 /src/plugins/platforms/xcb/qxcbconnection.cpp
parentc89d0f9d532a2719118614b9fa9b8efffbe12f2f (diff)
xcb: rework connection error handling
This patch reworks 0b1ce5db9e04b4c28713e87306fcea020c3e428b. Just by looking at the source code it was unclear why is this signal-and-slot connection necessary. It doesn't do anything on normal exit - at the time we call dtor of this class, QCoreApplication::instance() already is nullptr, which means that no further event processing happens and we never get this signal. Without digging into git history it may appear that the goal was to process the remaining events on application exit, which would be a questionable code by itself. Change-Id: I202d11584901e3b52254d8e3c347aece17844b72 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.cpp')
0 files changed, 0 insertions, 0 deletions