OSDN Git Service
(root)
/
x264-launcher
/
x264-launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2a9fe
)
Do not close the application in shutdownComputer(), if hibernation was requested.
author
lordmulder
<mulder2@gmx.de>
Sat, 29 May 2021 17:24:32 +0000
(19:24 +0200)
committer
lordmulder
<mulder2@gmx.de>
Sat, 29 May 2021 17:44:33 +0000
(19:44 +0200)
src/win_main.cpp
patch
|
blob
|
history
diff --git
a/src/win_main.cpp
b/src/win_main.cpp
index
e2722d5
..
2495b8b
100644
(file)
--- a/
src/win_main.cpp
+++ b/
src/win_main.cpp
@@
-870,7
+870,10
@@
void MainWindow::shutdownComputer(void)
if(MUtils::OS::shutdown_computer("Simple x264 Launcher: All jobs completed, shutting down!", 10, true, hibernate))
{
- qApp->closeAllWindows();
+ if (!hibernate)
+ {
+ qApp->closeAllWindows();
+ }
}
}