summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/frontend/qaction.cpp')
-rw-r--r--src/input/frontend/qaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qaction.cpp b/src/input/frontend/qaction.cpp
index 3eadd9d71..31bac3fa1 100644
--- a/src/input/frontend/qaction.cpp
+++ b/src/input/frontend/qaction.cpp
@@ -120,7 +120,7 @@ void QAction::addInput(QAbstractActionInput *input)
if (!input->parent())
input->setParent(this);
- if (d->m_changeArbiter != Q_NULLPTR) {
+ if (d->m_changeArbiter != nullptr) {
const auto change = Qt3DCore::QNodeAddedPropertyChangePtr::create(id(), input);
change->setPropertyName("input");
d->notifyObservers(change);
@@ -136,7 +136,7 @@ void QAction::removeInput(QAbstractActionInput *input)
Q_D(QAction);
if (d->m_inputs.contains(input)) {
- if (d->m_changeArbiter != Q_NULLPTR) {
+ if (d->m_changeArbiter != nullptr) {
const auto change = Qt3DCore::QNodeRemovedPropertyChangePtr::create(id(), input);
change->setPropertyName("input");
d->notifyObservers(change);