mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
Use #pragma once instead of include guards
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef POWERMANAGEMENT_H
|
||||
#define POWERMANAGEMENT_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -64,5 +63,3 @@ private:
|
||||
IOPMAssertionID m_assertionID;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // POWERMANAGEMENT_H
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
* exception statement from your version.
|
||||
*/
|
||||
|
||||
#ifndef POWERMANAGEMENTINHIBITOR_H
|
||||
#define POWERMANAGEMENTINHIBITOR_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -63,5 +62,3 @@ private:
|
||||
|
||||
bool m_useGSM;
|
||||
};
|
||||
|
||||
#endif // POWERMANAGEMENTINHIBITOR_H
|
||||
|
||||
Reference in New Issue
Block a user