summaryrefslogtreecommitdiff
path: root/src/instancemanager.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-03 13:35:02 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 13:35:02 -0500
commit38d2f87b31ba4af8f6ecb73e0432460778e26f82 (patch)
tree4de2421cf431da5b66cc6a0baeaac2bc79ddf165 /src/instancemanager.h
parenta4747a1ecc9f4fe56700c64933cc3c6cebd04734 (diff)
replaced #pragma once by ifdefs
changed pointer to ref to NexusInterface on_actionChange_Game_triggered() now creates the dialog itself instead of calling test code fixed broken command line options, they'd be reset before they were used removed useless explicit
Diffstat (limited to 'src/instancemanager.h')
-rw-r--r--src/instancemanager.h26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/instancemanager.h b/src/instancemanager.h
index ddab4a2e..69536650 100644
--- a/src/instancemanager.h
+++ b/src/instancemanager.h
@@ -1,25 +1,5 @@
-/*
-Copyright (C) 2016 Sebastian Herbord. All rights reserved.
-
-This file is part of Mod Organizer.
-
-Mod Organizer is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-Mod Organizer is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-
-#pragma once
-
+#ifndef MODORGANIZER_INSTANCEMANAGER_INCLUDED
+#define MODORGANIZER_INSTANCEMANAGER_INCLUDED
#include <QString>
#include <QSettings>
@@ -112,3 +92,5 @@ private:
bool m_overrideProfile{false};
QString m_overrideProfileName;
};
+
+#endif // MODORGANIZER_INSTANCEMANAGER_INCLUDED