Use #pragma once instead of include guards

This commit is contained in:
FranciscoPombal
2020-12-10 17:56:37 +00:00
parent aaeffe3846
commit 6152b83405
122 changed files with 122 additions and 488 deletions

View File

@@ -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

View File

@@ -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