diff options
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 9c5a0833d..e2a935e61 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -3363,6 +3363,9 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist if (line.contains("reboot")) { hibernationmethods.append(TDESystemHibernationMethod::Reboot); } + if (line.contains("suspend")) { + hibernationmethods.append(TDESystemHibernationMethod::Suspend); + } if (line.contains("testproc")) { hibernationmethods.append(TDESystemHibernationMethod::TestProc); } @@ -3384,6 +3387,9 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist if (line.contains("reboot")) { hibernationmethod = TDESystemHibernationMethod::Reboot; } + if (line.contains("suspend")) { + hibernationmethod = TDESystemHibernationMethod::Suspend; + } if (line.contains("testproc")) { hibernationmethod = TDESystemHibernationMethod::TestProc; } |