diff options
author | RJ Ryan <rryan@mixxx.org> | 2015-12-22 17:34:55 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2015-12-22 17:34:55 -0500 |
commit | 745a2d643b1c1fee4d08ffbeceb4b14febd4f65b (patch) | |
tree | ef2a5b2eb7ddca3ed5d2c17d11e418bd55e0f4a2 /src/errordialoghandler.h | |
parent | 608d346a60cef90a288ed4c9d6e8e18827a2147c (diff) |
Disable ErrorDialogHandler when running tests.
Diffstat (limited to 'src/errordialoghandler.h')
-rw-r--r-- | src/errordialoghandler.h | 2 |
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; |