SYNERGY-1088 Fix code smells
This commit is contained in:
parent
38a9014f26
commit
6ce8768691
2 changed files with 4 additions and 6 deletions
|
|
@ -36,11 +36,6 @@ bool sleepInhibitCall(bool state, ArchSystemUnix::InhibitScreenServices serviceI
|
|||
|
||||
}
|
||||
|
||||
XWindowsPowerManager::XWindowsPowerManager()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
XWindowsPowerManager::~XWindowsPowerManager()
|
||||
{
|
||||
enableSleep();
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
class XWindowsPowerManager
|
||||
{
|
||||
public:
|
||||
XWindowsPowerManager();
|
||||
XWindowsPowerManager() = default;
|
||||
~XWindowsPowerManager();
|
||||
|
||||
/**
|
||||
|
|
@ -34,6 +34,9 @@ public:
|
|||
* @brief Enables automatical sleep
|
||||
*/
|
||||
void enableSleep() const;
|
||||
|
||||
XWindowsPowerManager(const XWindowsPowerManager&) = delete;
|
||||
XWindowsPowerManager& operator=(const XWindowsPowerManager&) = delete;
|
||||
};
|
||||
|
||||
#endif // XWINDOWSPOWERMANAGER_H
|
||||
|
|
|
|||
Loading…
Reference in a new issue