diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-29 12:32:48 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-29 12:32:48 (GMT) |
commit | 26012845b8b12b2e4d3b6138124f8647a6144d3b (patch) | |
tree | 1790589e74291e41f352ea1ae50c0805349f5d87 /src | |
parent | d3fb49f36f1a3f3ecf8ffac0824ea70d8792a8d4 (diff) | |
download | Qt-26012845b8b12b2e4d3b6138124f8647a6144d3b.zip Qt-26012845b8b12b2e4d3b6138124f8647a6144d3b.tar.gz Qt-26012845b8b12b2e4d3b6138124f8647a6144d3b.tar.bz2 |
Don't break on the first unhandled event in XCB plugin.
Prevent the XCB event queue from growing indefinitely.
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbconnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp index 191699b..2bdd6d4 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.cpp +++ b/src/plugins/platforms/xcb/qxcbconnection.cpp @@ -247,7 +247,7 @@ void QXcbConnection::eventDispatcher() break; default: handled = false; - return; + break; } if (handled) printXcbEvent("Handled XCB event", event); |