Process event befor closing the settings app.
This commit is contained in:
parent
c027b43ee7
commit
029a633515
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue