summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-07-31 11:04:48 (GMT)
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-11-23 11:02:42 (GMT)
commit3f06c2dad7c90771df3ea98435097bda9c08cbeb (patch)
tree58db4424e217f508af3cc532a8abdc513e05f709
parenta60dadbc611422ed2c3b0a13ee2ab8bee8dea9b0 (diff)
downloadqtlocation-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>
-rw-r--r--src/location/maps/qgeomapparameter_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeomapparameter_p.h b/src/location/maps/qgeomapparameter_p.h
index bc39c14..7f27e8b 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);