Process event befor closing the settings app.

This commit is contained in:
Patrick von Reth 2015-08-27 18:50:31 +02:00
parent c027b43ee7
commit 029a633515
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ void SettingsWindow::on_buttonBox_clicked(QAbstractButton *button)
switch (ui->buttonBox->buttonRole(button)) {
case QDialogButtonBox::AcceptRole:
ui->widget->accept();
qApp->processEvents();
qApp->quit();
break;
case QDialogButtonBox::ApplyRole: