diff options
author | Ken Moore <moorekou@gmail.com> | 2016-08-18 15:50:49 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-08-18 15:50:49 -0400 |
commit | bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c (patch) | |
tree | 1c3717afdba77275ad9b2028ee9eefae71682442 /src-qt5/core/lumina-desktop/LSession.cpp | |
parent | Oops - NOW the OS-detect.pri file is fixed for the LIBPREFIX variable (also c... (diff) | |
download | lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.tar.gz lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.tar.bz2 lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.zip |
Add in pending update detection/skipping ability to the main logout window (not the start menu options yet).
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 28b7eb2d..434bfd2d 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -299,15 +299,15 @@ void LSession::StartLogout(){ QCoreApplication::exit(0); } -void LSession::StartShutdown(){ +void LSession::StartShutdown(bool skipupdates){ CleanupSession(); - LOS::systemShutdown(); + LOS::systemShutdown(skipupdates); QCoreApplication::exit(0); } -void LSession::StartReboot(){ +void LSession::StartReboot(bool skipupdates){ CleanupSession(); - LOS::systemRestart(); + LOS::systemRestart(skipupdates); QCoreApplication::exit(0); } |