From 0bcc1cf4a06a422aaf733bccae1f64e324ce7e89 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 21 Jul 2023 20:41:00 +0800 Subject: [PATCH] Fix indentation --- src/gui/powermanagement/powermanagement.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/gui/powermanagement/powermanagement.h b/src/gui/powermanagement/powermanagement.h index 39bbcf6d0..f5168c1df 100644 --- a/src/gui/powermanagement/powermanagement.h +++ b/src/gui/powermanagement/powermanagement.h @@ -36,31 +36,30 @@ #endif #ifdef QBT_USES_DBUS -// Require DBus class PowerManagementInhibitor; #endif class PowerManagement final : public QObject { - Q_OBJECT - Q_DISABLE_COPY_MOVE(PowerManagement) + Q_OBJECT + Q_DISABLE_COPY_MOVE(PowerManagement) public: - PowerManagement(QObject *parent = nullptr); - ~PowerManagement() override; + PowerManagement(QObject *parent = nullptr); + ~PowerManagement() override; - void setActivityState(bool busy); + void setActivityState(bool busy); private: - void setBusy(); - void setIdle(); + void setBusy(); + void setIdle(); - bool m_busy = false; + bool m_busy = false; #ifdef QBT_USES_DBUS - PowerManagementInhibitor *m_inhibitor = nullptr; + PowerManagementInhibitor *m_inhibitor = nullptr; #endif #ifdef Q_OS_MACOS - IOPMAssertionID m_assertionID {}; + IOPMAssertionID m_assertionID {}; #endif };