mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-29 01:18:09 -04:00

QMessageBox displays modal dialogs which blocks the gui tests. To work around this we add a MessageBox wrapper class where the tests can set the answer for the next dialog. The answer is then returned without actually showing the dialog.