diff options
| author | Chris Adams <chris.adams@qinetic.com.au> | 2018-07-13 16:31:31 +1000 |
|---|---|---|
| committer | Christopher Adams <chris.adams@jollamobile.com> | 2018-07-19 01:03:26 +0000 |
| commit | 7f21dc3ef4f7bed203357e13ee75013d67e151b4 (patch) | |
| tree | 1025cddba3fc6a594d00dc94d59e8eda5c1b6848 /examples/qtmail/emailcomposer.cpp | |
| parent | 7e2579c1fbfc077f3d95eceed5c79236752acb87 (diff) | |
Compile with GCC 6 -Werror=zero-as-null-pointer-constant
Change-Id: I67eb29e13c5e643ee2f58a0696400e085999c01c
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Diffstat (limited to 'examples/qtmail/emailcomposer.cpp')
| -rw-r--r-- | examples/qtmail/emailcomposer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |
