From 3f06c2dad7c90771df3ea98435097bda9c08cbeb Mon Sep 17 00:00:00 2001 From: Paolo Angelelli Date: Mon, 31 Jul 2017 13:04:48 +0200 Subject: Make QGeoMapParameter accessors virtual So that it's possible to make the type property somehow constant in subclasses Change-Id: I61f4d1b412dbfb173e7ca7fa31411cffbfcfacb1 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/location/maps/qgeomapparameter_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/location/maps/qgeomapparameter_p.h b/src/location/maps/qgeomapparameter_p.h index bc39c14a..7f27e8b5 100644 --- a/src/location/maps/qgeomapparameter_p.h +++ b/src/location/maps/qgeomapparameter_p.h @@ -64,8 +64,8 @@ public: explicit QGeoMapParameter(QObject *parent = 0); virtual ~QGeoMapParameter(); - QString type() const; - void setType(const QString &type); + virtual QString type() const; + virtual void setType(const QString &type); void updateProperty(const char *propertyName, QVariant value); -- cgit v1.2.1