summaryrefslogtreecommitdiffstats
path: root/src/control/control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/control.cpp')
-rw-r--r--src/control/control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/control.cpp b/src/control/control.cpp
index 5ea6a51dad..22a79b6dce 100644
--- a/src/control/control.cpp
+++ b/src/control/control.cpp
@@ -67,7 +67,7 @@ ControlDoublePrivate::~ControlDoublePrivate() {
if (m_bPersistInConfiguration) {
UserSettingsPointer pConfig = ControlDoublePrivate::s_pUserConfig;
- if (pConfig != NULL) {
+ if (pConfig != nullptr) {
pConfig->set(m_key, QString::number(get()));
}
}
@@ -194,7 +194,7 @@ void ControlDoublePrivate::reset() {
// NOTE: pSender = NULL is important. The originator of this action does
// not know the resulting value so it makes sense that we should emit a
// general valueChanged() signal even though we know the originator.
- set(defaultValue, NULL);
+ set(defaultValue, nullptr);
}
void ControlDoublePrivate::set(double value, QObject* pSender) {