Do not close the application in shutdownComputer(), if hibernation was requested.
This commit is contained in:
parent
9d2a9fe836
commit
7fe6779177
@ -870,7 +870,10 @@ void MainWindow::shutdownComputer(void)
|
|||||||
|
|
||||||
if(MUtils::OS::shutdown_computer("Simple x264 Launcher: All jobs completed, shutting down!", 10, true, hibernate))
|
if(MUtils::OS::shutdown_computer("Simple x264 Launcher: All jobs completed, shutting down!", 10, true, hibernate))
|
||||||
{
|
{
|
||||||
qApp->closeAllWindows();
|
if (!hibernate)
|
||||||
|
{
|
||||||
|
qApp->closeAllWindows();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user