diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-01-07 16:49:08 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-01-09 00:35:23 +0100 |
commit | 1640879b8efa9768d9e9470ed997538450815224 (patch) | |
tree | 8c086fd98f953140e9212ed3196a61b1fcf564c4 /src/errordialoghandler.h | |
parent | 83ed067e0c1d6d1e70545ec314af43e5e2b2b8cc (diff) |
errordialoghandler: Replace QSignalMapper with lambda expressions
Diffstat (limited to 'src/errordialoghandler.h')
-rw-r--r-- | src/errordialoghandler.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/errordialoghandler.h b/src/errordialoghandler.h index 77762dece7..3a1f028b6a 100644 --- a/src/errordialoghandler.h +++ b/src/errordialoghandler.h @@ -20,7 +20,6 @@ #include <QObject> #include <QMessageBox> -#include <QSignalMapper> #include <QMutex> #include <QString> #include <QList> @@ -166,7 +165,7 @@ class ErrorDialogHandler : public QObject { private slots: /** Actually displays the box */ void errorDialog(ErrorDialogProperties* props); - void boxClosed(QString key); + void boxClosed(QString key, QMessageBox* msgBox); private: // Private constructor @@ -177,7 +176,6 @@ class ErrorDialogHandler : public QObject { bool m_errorCondition; QList<QString> m_dialogKeys; - QSignalMapper m_signalMapper; QMutex m_mutex; DISALLOW_COPY_AND_ASSIGN(ErrorDialogHandler); |