summaryrefslogtreecommitdiffstats
path: root/src/errordialoghandler.cpp
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-15 01:43:38 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-15 01:57:06 +0100
commit73c750df852e7b6336154acd65bd39de975feadc (patch)
tree0ccacc0c3773324e7e97512eb3d1a0526d0017c3 /src/errordialoghandler.cpp
parent9326b65dd35d39c8180edc8c5200a84e81cd88c0 (diff)
Replace null pointer constants (e.g. NULL, 0) with nullptr
Diffstat (limited to 'src/errordialoghandler.cpp')
-rw-r--r--src/errordialoghandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errordialoghandler.cpp b/src/errordialoghandler.cpp
index f3217e486f..a7d68b12cf 100644
--- a/src/errordialoghandler.cpp
+++ b/src/errordialoghandler.cpp
@@ -55,7 +55,7 @@ void ErrorDialogProperties::addButton(QMessageBox::StandardButton button) {
// ----------------------------------------------------
// ---------- ErrorDialogHandler begins here ----------
-ErrorDialogHandler* ErrorDialogHandler::s_pInstance = NULL;
+ErrorDialogHandler* ErrorDialogHandler::s_pInstance = nullptr;
bool ErrorDialogHandler::s_bEnabled = true;
// static
@@ -69,7 +69,7 @@ ErrorDialogHandler::ErrorDialogHandler() {
}
ErrorDialogHandler::~ErrorDialogHandler() {
- s_pInstance = NULL;
+ s_pInstance = nullptr;
}
ErrorDialogProperties* ErrorDialogHandler::newDialogProperties() {