Replace pragma once with header guards for consistency

Only 2 headers have this.
This commit is contained in:
Jonas Kvinge 2022-10-15 19:54:09 +02:00
parent 4abb8ef3c9
commit 43c14ae71b
3 changed files with 9 additions and 3 deletions

View File

@ -17,7 +17,8 @@
*
*/
#pragma once
#ifndef ICONMAPPER_H
#define ICONMAPPER_H
#include "config.h"
@ -135,3 +136,6 @@ static const QMap<QString, IconProperties> iconmapper_ = { // clazy:exclude=non
};
} // namespace IconMapper
#endif // ICONMAPPER_H

View File

@ -23,7 +23,6 @@
**
****************************************************************************/
//#pragma once
#ifndef STYLEHELPER_H
#define STYLEHELPER_H

View File

@ -17,7 +17,8 @@
*
*/
#pragma once
#ifndef TRANSLATIONS_H
#define TRANSLATIONS_H
#include "config.h"
@ -39,3 +40,5 @@ class Translations : public QObject {
QList<QTranslator*> translations_;
};
#endif // TRANSLATIONS_H