summaryrefslogtreecommitdiff
path: root/src/settingsdialognexus.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-08-17 05:06:26 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 11:39:08 -0500
commit4c5e3da2334a1d0c474148be8881b46d6ca6d3fa (patch)
tree188be5f54644cc5e432f957fe5bf406d372e5e80 /src/settingsdialognexus.h
parentee53312652af10fbddb5d1d16db6212bca2b9665 (diff)
moved nexus api stuff to GlobalSettings
pass a pointer to Settings around for things that can be called without settings, when creating the first instance added dummy plugin list, mod list and iorganizer to initialize plugins without an instance moved PluginContainer into the core filter, had nothing to do with the plugins list NexusInterface is now created manually instead of being a static singleton because it needs to know if the settings are available
Diffstat (limited to 'src/settingsdialognexus.h')
-rw-r--r--src/settingsdialognexus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settingsdialognexus.h b/src/settingsdialognexus.h
index a2d6a4f8..c915accf 100644
--- a/src/settingsdialognexus.h
+++ b/src/settingsdialognexus.h
@@ -13,8 +13,8 @@ class NexusConnectionUI : public QObject
public:
NexusConnectionUI(
- Settings& s,
QWidget* parent,
+ Settings* s,
QAbstractButton* connectButton,
QAbstractButton* disconnectButton,
QAbstractButton* manualButton,
@@ -30,7 +30,7 @@ signals:
private:
QWidget* m_parent;
- Settings& m_settings;
+ Settings* m_settings;
QAbstractButton* m_connect;
QAbstractButton* m_disconnect;
QAbstractButton* m_manual;