Convert m_previousShutdownSafe to new settings API

This commit is contained in:
Vasily
2019-12-10 08:28:41 +01:00
committed by username223
parent 4ae8bd8fb5
commit adc3a1e7b2
2 changed files with 9 additions and 20 deletions
+1 -5
View File
@@ -120,7 +120,6 @@ private:
Qt::MouseButtons m_lastMouseButtons = nullptr;
bool m_desktopMode;
bool m_previousShutdownSafe = true;
bool m_noSound;
bool m_crashRecoveryDisabled = false;
bool m_enableDebug = false;
@@ -219,10 +218,7 @@ public:
return m_desktopMode;
}
bool isPreviousShutdownSafe()
{
return m_previousShutdownSafe;
}
bool isPreviousShutdownSafe();
void setPreviousShutdownSafe( bool value );
utils::ChaperoneUtils& chaperoneUtils() noexcept