Do not close the application in shutdownComputer(), if hibernation was requested.

This commit is contained in:
LoRd_MuldeR 2021-05-29 19:24:32 +02:00
parent 9d2a9fe836
commit 7fe6779177

View File

@ -869,9 +869,12 @@ void MainWindow::shutdownComputer(void)
qWarning("Shutting down !!!");
if(MUtils::OS::shutdown_computer("Simple x264 Launcher: All jobs completed, shutting down!", 10, true, hibernate))
{
if (!hibernate)
{
qApp->closeAllWindows();
}
}
}