summaryrefslogtreecommitdiffstats
path: root/src/errordialoghandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/errordialoghandler.h')
-rw-r--r--src/errordialoghandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errordialoghandler.h b/src/errordialoghandler.h
index 1e2ee96588..6e2cd34adf 100644
--- a/src/errordialoghandler.h
+++ b/src/errordialoghandler.h
@@ -140,6 +140,7 @@ class ErrorDialogHandler : public QObject {
s_pInstance = new ErrorDialogHandler();
return s_pInstance;
}
+ static void setEnabled(bool enabled);
virtual ~ErrorDialogHandler();
// Call this to get a new instance of ErrorDialogProperties to populate with
@@ -172,6 +173,7 @@ class ErrorDialogHandler : public QObject {
ErrorDialogHandler();
static ErrorDialogHandler *s_pInstance;
+ static bool s_bEnabled;
bool m_errorCondition;
QList<QString> m_dialogKeys;