diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-12 22:43:43 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-11-12 23:21:32 +0100 |
commit | 4316516d00b84e0d6949dcc4cc538a331611bc83 (patch) | |
tree | 547d47764cce110f29a4ecc4b0c040f5ac91765c /src/errordialoghandler.cpp | |
parent | e40f69513eb8f3bfe6820eb3132173cbd31c21f2 (diff) |
Replace some old-style Qt connect() calls
Diffstat (limited to 'src/errordialoghandler.cpp')
-rw-r--r-- | src/errordialoghandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/errordialoghandler.cpp b/src/errordialoghandler.cpp index eb7fd5193b..3f302bb7b2 100644 --- a/src/errordialoghandler.cpp +++ b/src/errordialoghandler.cpp @@ -78,8 +78,7 @@ void ErrorDialogHandler::setEnabled(bool enabled) { ErrorDialogHandler::ErrorDialogHandler() { m_errorCondition = false; - connect(this, SIGNAL(showErrorDialog(ErrorDialogProperties*)), - this, SLOT(errorDialog(ErrorDialogProperties*))); + connect(this, &ErrorDialogHandler::showErrorDialog, this, &ErrorDialogHandler::errorDialog); } ErrorDialogHandler::~ErrorDialogHandler() { |