summaryrefslogtreecommitdiffstats
path: root/src/core/services/qeventfilterservice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/services/qeventfilterservice.cpp')
-rw-r--r--src/core/services/qeventfilterservice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/services/qeventfilterservice.cpp b/src/core/services/qeventfilterservice.cpp
index e185206c4..c5aa13ce1 100644
--- a/src/core/services/qeventfilterservice.cpp
+++ b/src/core/services/qeventfilterservice.cpp
@@ -109,7 +109,7 @@ class InternalEventListener : public QObject
{
Q_OBJECT
public:
- explicit InternalEventListener(QEventFilterServicePrivate *filterService, QObject *parent = Q_NULLPTR)
+ explicit InternalEventListener(QEventFilterServicePrivate *filterService, QObject *parent = nullptr)
: QObject(parent)
, m_filterService(filterService)
{
@@ -156,7 +156,7 @@ QEventFilterService::~QEventFilterService()
void QEventFilterService::initialize(QObject *eventSource)
{
Q_D(QEventFilterService);
- if (eventSource == Q_NULLPTR) {
+ if (eventSource == nullptr) {
d->m_eventDispatcher.reset();
} else {
d->m_eventDispatcher.reset(new InternalEventListener(d));