diff options
| author | Tannin <sherb@gmx.net> | 2016-01-10 20:19:56 +0100 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-01-10 20:19:56 +0100 |
| commit | 2aae65d6f6c1ab3309e54437a339d1644088c5c8 (patch) | |
| tree | b693c455a4433370724cfbaa23a66998a16027a9 /src/settings.h | |
| parent | ddf841400ef4da235f11e9b67177a78bb3d519d4 (diff) | |
made instance-switching usable
this includes tons and tons of changes to how paths are determined.
the profiles-dir can now also be configured
Diffstat (limited to 'src/settings.h')
| -rw-r--r-- | src/settings.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/settings.h b/src/settings.h index 1ee16e76..85a3dac0 100644 --- a/src/settings.h +++ b/src/settings.h @@ -131,6 +131,11 @@ public: QString getCacheDirectory() const; /** + * retrieve the directory where profiles stored (with native separators) + **/ + QString getProfileDirectory() const; + + /** * @return true if the user has set up automatic login to nexus **/ bool automaticLoginEnabled() const; @@ -339,11 +344,22 @@ private: QComboBox *m_languageBox; QComboBox *m_styleBox; QComboBox *m_logLevelBox; + QCheckBox *m_compactBox; + QCheckBox *m_showMetaBox; + }; + + class PathsTab : public SettingsTab + { + public: + PathsTab(Settings *parent, SettingsDialog &dialog); + + void update(); + + private: QLineEdit *m_downloadDirEdit; QLineEdit *m_modDirEdit; QLineEdit *m_cacheDirEdit; - QCheckBox *m_compactBox; - QCheckBox *m_showMetaBox; + QLineEdit *m_profilesDirEdit; }; /** Display/store the configuration in the 'nexus' tab of the settings dialogue */ |
