summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h
index d316c82d..9ee29ba3 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -38,6 +38,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
class QCheckBox;
class QComboBox;
class QLineEdit;
+class QSpinBox;
class QListWidget;
class QWidget;
@@ -205,6 +206,16 @@ public:
int logLevel() const;
/**
+ * @return the configured crash dumps type
+ */
+ int crashDumpsType() const;
+
+ /**
+ * @return the configured crash dumps max
+ */
+ int crashDumpsMax() const;
+
+ /**
* @brief set the nexus login information
*
* @param username username
@@ -371,7 +382,6 @@ private:
private:
QComboBox *m_languageBox;
QComboBox *m_styleBox;
- QComboBox *m_logLevelBox;
QCheckBox *m_compactBox;
QCheckBox *m_showMetaBox;
QCheckBox *m_usePrereleaseBox;
@@ -393,6 +403,19 @@ private:
QLineEdit *m_overwriteDirEdit;
};
+ class DiagnosticsTab : public SettingsTab
+ {
+ public:
+ DiagnosticsTab(Settings *parent, SettingsDialog &dialog);
+
+ void update();
+
+ private:
+ QComboBox *m_logLevelBox;
+ QComboBox *m_dumpsTypeBox;
+ QSpinBox *m_dumpsMaxEdit;
+ };
+
/** Display/store the configuration in the 'nexus' tab of the settings dialogue */
class NexusTab : public SettingsTab
{