From 7f21dc3ef4f7bed203357e13ee75013d67e151b4 Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Fri, 13 Jul 2018 16:31:31 +1000 Subject: Compile with GCC 6 -Werror=zero-as-null-pointer-constant Change-Id: I67eb29e13c5e643ee2f58a0696400e085999c01c Reviewed-by: Matthew Vogt --- examples/qtmail/emailcomposer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/qtmail/emailcomposer.cpp') diff --git a/examples/qtmail/emailcomposer.cpp b/examples/qtmail/emailcomposer.cpp index 11566345..2eff03d3 100644 --- a/examples/qtmail/emailcomposer.cpp +++ b/examples/qtmail/emailcomposer.cpp @@ -99,7 +99,7 @@ class RecipientWidget : public QWidget Q_OBJECT public: - RecipientWidget(QWidget* parent = 0); + RecipientWidget(QWidget* parent = Q_NULLPTR); bool isRemoveEnabled() const; void setRemoveEnabled(bool val); @@ -227,7 +227,7 @@ class RecipientListWidget : public QWidget Q_OBJECT public: - RecipientListWidget(QWidget* parent = 0); + RecipientListWidget(QWidget* parent = Q_NULLPTR); QStringList recipients(RecipientType t) const; QStringList recipients() const; void setRecipients(RecipientType, const QStringList& list); @@ -484,7 +484,7 @@ class BodyTextEdit : public QTextEdit Q_OBJECT public: - BodyTextEdit(EmailComposerInterface* composer, QWidget* parent = 0); + BodyTextEdit(EmailComposerInterface* composer, QWidget* parent = Q_NULLPTR); bool isComposing(); bool isEmpty(); -- cgit v1.2.3