summaryrefslogtreecommitdiff
path: root/src/uilocker.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/uilocker.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/uilocker.h')
-rw-r--r--src/uilocker.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/uilocker.h b/src/uilocker.h
index cc467184..44d9d8a2 100644
--- a/src/uilocker.h
+++ b/src/uilocker.h
@@ -1,4 +1,5 @@
-#pragma once
+#ifndef MODORGANIZER_UILOCKER_INCLUDED
+#define MODORGANIZER_UILOCKER_INCLUDED
#include <QMainWindow>
#include <mutex>
@@ -94,3 +95,5 @@ private:
void enableAll();
void disable(QWidget* w);
};
+
+#endif // MODORGANIZER_UILOCKER_INCLUDED