summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-14 12:32:07 (GMT)
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-08-14 12:32:07 (GMT)
commit6a69c19b2d39392ecba99bea63735a6a0781184e (patch)
tree8a91ec43c041153e6f29f93edad0c050c9c091a3
parent7f47e23a53ab93e19a8368bf92d9b4f699e09241 (diff)
local static variable was meant to be const, of course
-rw-r--r--src/lib/marble/osm/OsmTagEditorWidget_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/marble/osm/OsmTagEditorWidget_p.cpp b/src/lib/marble/osm/OsmTagEditorWidget_p.cpp
index bb5b1ba..72903a3 100644
--- a/src/lib/marble/osm/OsmTagEditorWidget_p.cpp
+++ b/src/lib/marble/osm/OsmTagEditorWidget_p.cpp
@@ -117,7 +117,7 @@ QTreeWidgetItem *OsmTagEditorWidgetPrivate::tagWidgetItem( const OsmTag &tag ) c
QList<OsmTagEditorWidgetPrivate::OsmTag> OsmTagEditorWidgetPrivate::recommendedTags() const
{
- static QVector<OsmTag> additionalOsmTags = createAdditionalOsmTags();
+ static const QVector<OsmTag> additionalOsmTags = createAdditionalOsmTags();
QList<OsmTag> recommendedTags;