diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-07-31 13:04:48 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-11-23 11:02:42 +0000 |
commit | 3f06c2dad7c90771df3ea98435097bda9c08cbeb (patch) | |
tree | 58db4424e217f508af3cc532a8abdc513e05f709 /src/location/maps | |
parent | a60dadbc611422ed2c3b0a13ee2ab8bee8dea9b0 (diff) | |
download | qtlocation-3f06c2dad7c90771df3ea98435097bda9c08cbeb.tar.gz |
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 <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/location/maps')
-rw-r--r-- | src/location/maps/qgeomapparameter_p.h | 4 |
1 files 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); |