From 89abcd28004dec5011cfa597a923ead8c542eb0d Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 28 Mar 2014 09:21:18 +0100 Subject: Use QString() instead of "" for default methods arguments --- src/base/QXmppMessage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base/QXmppMessage.h') diff --git a/src/base/QXmppMessage.h b/src/base/QXmppMessage.h index 66e989b5..e927a85c 100644 --- a/src/base/QXmppMessage.h +++ b/src/base/QXmppMessage.h @@ -60,8 +60,8 @@ public: Paused, ///< User had been composing but now has stopped. }; - QXmppMessage(const QString& from = "", const QString& to = "", - const QString& body = "", const QString& thread = ""); + QXmppMessage(const QString& from = QString(), const QString& to = QString(), + const QString& body = QString(), const QString& thread = QString()); QXmppMessage(const QXmppMessage &other); ~QXmppMessage(); -- cgit v1.2.3