|
|
@ -2111,6 +2111,8 @@ void QBtSession::readAlerts() { |
|
|
|
saveSessionState(); |
|
|
|
saveSessionState(); |
|
|
|
qDebug("Saving fast resume data"); |
|
|
|
qDebug("Saving fast resume data"); |
|
|
|
saveFastResumeData(); |
|
|
|
saveFastResumeData(); |
|
|
|
|
|
|
|
// Make sure preferences are synced before exiting
|
|
|
|
|
|
|
|
pref.sync(); |
|
|
|
qDebug("Sending computer shutdown/suspend signal"); |
|
|
|
qDebug("Sending computer shutdown/suspend signal"); |
|
|
|
misc::shutdownComputer(suspend); |
|
|
|
misc::shutdownComputer(suspend); |
|
|
|
} |
|
|
|
} |
|
|
|