summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qabstracttextdocumentlayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qabstracttextdocumentlayout.h')
-rw-r--r--src/gui/text/qabstracttextdocumentlayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qabstracttextdocumentlayout.h b/src/gui/text/qabstracttextdocumentlayout.h
index 68e7a0e4e9..cdcfed7535 100644
--- a/src/gui/text/qabstracttextdocumentlayout.h
+++ b/src/gui/text/qabstracttextdocumentlayout.h
@@ -90,7 +90,7 @@ public:
QTextDocument *document() const;
void registerHandler(int objectType, QObject *component);
- void unregisterHandler(int objectType, QObject *component = 0);
+ void unregisterHandler(int objectType, QObject *component = Q_NULLPTR);
QTextObjectInterface *handlerForObject(int objectType) const;
Q_SIGNALS: