summaryrefslogtreecommitdiff
path: root/src/location/places/qplacedetailsreply.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-02 15:38:05 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-03 16:17:00 +0000
commit0f60554207e5f7b17177875108d4de6fe73f2b7e (patch)
treebd800b8d63edd0806a13a322ae5ab99268b9685b /src/location/places/qplacedetailsreply.h
parent3d8a8799cc97aedb28f5046f096d4d35da6ef8ef (diff)
downloadqtlocation-0f60554207e5f7b17177875108d4de6fe73f2b7e.tar.gz
Add explicit and make public headers compile with -Wzero-as-null-pointer-constant
... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Task-number: QTBUG-45291 Change-Id: I279fd100b61d3e2b2e46e7cbd30cc6b4bfb4d10e Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/places/qplacedetailsreply.h')
-rw-r--r--src/location/places/qplacedetailsreply.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplacedetailsreply.h b/src/location/places/qplacedetailsreply.h
index c9530c34..09593a1e 100644
--- a/src/location/places/qplacedetailsreply.h
+++ b/src/location/places/qplacedetailsreply.h
@@ -47,7 +47,7 @@ class Q_LOCATION_EXPORT QPlaceDetailsReply : public QPlaceReply
{
Q_OBJECT
public:
- explicit QPlaceDetailsReply(QObject *parent = 0);
+ explicit QPlaceDetailsReply(QObject *parent = Q_NULLPTR);
virtual ~QPlaceDetailsReply();
QPlaceReply::Type type() const;