diff --git a/mapeditor/mapsettings/abstractsettings.h b/mapeditor/mapsettings/abstractsettings.h index 5985613eb..827628778 100644 --- a/mapeditor/mapsettings/abstractsettings.h +++ b/mapeditor/mapsettings/abstractsettings.h @@ -7,8 +7,7 @@ * Full text of license available in license.txt file, in main folder * */ -#ifndef ABSTRACTSETTINGS_H -#define ABSTRACTSETTINGS_H +#pragma once #include #include "../../lib/mapping/CMap.h" @@ -66,5 +65,3 @@ public: signals: }; - -#endif // ABSTRACTSETTINGS_H diff --git a/mapeditor/mapsettings/eventsettings.h b/mapeditor/mapsettings/eventsettings.h index d37c1ba79..0560ec534 100644 --- a/mapeditor/mapsettings/eventsettings.h +++ b/mapeditor/mapsettings/eventsettings.h @@ -7,8 +7,7 @@ * Full text of license available in license.txt file, in main folder * */ -#ifndef EVENTSETTINGS_H -#define EVENTSETTINGS_H +#pragma once #include "abstractsettings.h" @@ -38,4 +37,3 @@ private: Ui::EventSettings *ui; }; -#endif // EVENTSETTINGS_H diff --git a/mapeditor/mapsettings/generalsettings.h b/mapeditor/mapsettings/generalsettings.h index 025cd1e50..8360dee66 100644 --- a/mapeditor/mapsettings/generalsettings.h +++ b/mapeditor/mapsettings/generalsettings.h @@ -7,8 +7,7 @@ * Full text of license available in license.txt file, in main folder * */ -#ifndef GENERALSETTINGS_H -#define GENERALSETTINGS_H +#pragma once #include "abstractsettings.h" @@ -33,5 +32,3 @@ private slots: private: Ui::GeneralSettings *ui; }; - -#endif // GENERALSETTINGS_H diff --git a/mapeditor/mapsettings/loseconditions.h b/mapeditor/mapsettings/loseconditions.h index 778e8c146..b091df7f0 100644 --- a/mapeditor/mapsettings/loseconditions.h +++ b/mapeditor/mapsettings/loseconditions.h @@ -7,9 +7,8 @@ * Full text of license available in license.txt file, in main folder * */ +#pragma once -#ifndef LOSECONDITIONS_H -#define LOSECONDITIONS_H #include "abstractsettings.h" namespace Ui { @@ -39,4 +38,3 @@ private: QLineEdit * loseValueWidget = nullptr; }; -#endif // LOSECONDITIONS_H diff --git a/mapeditor/mapsettings/modsettings.h b/mapeditor/mapsettings/modsettings.h index 6e5acd5b9..8c30b88b0 100644 --- a/mapeditor/mapsettings/modsettings.h +++ b/mapeditor/mapsettings/modsettings.h @@ -7,8 +7,7 @@ * Full text of license available in license.txt file, in main folder * */ -#ifndef MODSETTINGS_H -#define MODSETTINGS_H +#pragma once #include "abstractsettings.h" @@ -41,5 +40,3 @@ private: Ui::ModSettings *ui; const CMap * mapPointer = nullptr; }; - -#endif // MODSETTINGS_H diff --git a/mapeditor/mapsettings/rumorsettings.h b/mapeditor/mapsettings/rumorsettings.h index 60bb64dfb..9a980f288 100644 --- a/mapeditor/mapsettings/rumorsettings.h +++ b/mapeditor/mapsettings/rumorsettings.h @@ -7,8 +7,7 @@ * Full text of license available in license.txt file, in main folder * */ -#ifndef RUMORSETTINGS_H -#define RUMORSETTINGS_H +#pragma once #include "abstractsettings.h" @@ -39,5 +38,3 @@ private slots: private: Ui::RumorSettings *ui; }; - -#endif // RUMORSETTINGS_H diff --git a/mapeditor/mapsettings/timedevent.h b/mapeditor/mapsettings/timedevent.h index b72480837..5aab63fc2 100644 --- a/mapeditor/mapsettings/timedevent.h +++ b/mapeditor/mapsettings/timedevent.h @@ -7,8 +7,7 @@ * Full text of license available in license.txt file, in main folder * */ -#ifndef TIMEDEVENT_H -#define TIMEDEVENT_H +#pragma once #include @@ -36,5 +35,3 @@ private: Ui::TimedEvent *ui; QListWidgetItem * target; }; - -#endif // TIMEDEVENT_H diff --git a/mapeditor/mapsettings/victoryconditions.h b/mapeditor/mapsettings/victoryconditions.h index f47b6b293..deba8f7a0 100644 --- a/mapeditor/mapsettings/victoryconditions.h +++ b/mapeditor/mapsettings/victoryconditions.h @@ -7,8 +7,7 @@ * Full text of license available in license.txt file, in main folder * */ -#ifndef VICTORYCONDITIONS_H -#define VICTORYCONDITIONS_H +#pragma once #include "abstractsettings.h" @@ -38,5 +37,3 @@ private: QComboBox * victorySelectWidget = nullptr; QLineEdit * victoryValueWidget = nullptr; }; - -#endif // VICTORYCONDITIONS_H