path: root/src/plugins/platforminputcontexts
diff options
authorAlexandru Croitor <>2018-09-25 18:35:31 +0200
committerAlexandru Croitor <>2018-09-26 08:35:30 +0000
commit5e64957ee4162ecf4456306a530a68761c2b127f (patch)
tree358380913e30c519fdf3b059c690fcd8f46219f5 /src/plugins/platforminputcontexts
parentf99e956d65058e22780d99832987edad16f6d077 (diff)
Fix QCompleter popups preventing the application from exiting
Due to an implementation detail regarding setParent() and setWindowFlags(), if a QCompleter popup ends up being the last open window after closing the main window, the application would be prevented from exiting even after selecting an item in the popup. This is due to adjustQuitOnCloseAttribute() not being called when passing a Qt::Popup flag to setParent(parent, windowFlags). Use setWindowFlags() directly, which adjusts the quit on close attribute, and allows an application to exit properly. Change-Id: Ic4cff9504df268556d851e40d5ae08b7ed4dc3bf Fixes: QTBUG-69924 Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/plugins/platforminputcontexts')
0 files changed, 0 insertions, 0 deletions