This commit is contained in:
Klaus Basan
2019-01-25 20:23:16 +01:00
committed by Mat Sutcliffe
parent a32eadee6a
commit d669f7c370
3 changed files with 7 additions and 3 deletions

View File

@@ -276,7 +276,10 @@ namespace BlackGui
const bool shutdown = ui->cb_Shutdown->isChecked();
if (sGui && shutdown)
{
QTimer::singleShot(1000, sGui, [] { CGuiApplication::exit(); });
QTimer::singleShot(1000, sGui, []
{
CGuiApplication::exit();
});
}
break;
}