summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-09 16:24:05 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-09 16:24:05 (GMT)
commit291e449089332ad4ff7f3bcd1ebceb069c3521d3 (patch)
tree6bde78e0a442606036f3b9ff9be4364f6ca87659
parentd6884522f26cec481d9cce49dad90365378829d7 (diff)
Initialize GeoDataPolyStyle colorIndex
No bug seen, but better safe then sorry
-rw-r--r--src/lib/marble/geodata/data/GeoDataPolyStyle.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/marble/geodata/data/GeoDataPolyStyle.cpp b/src/lib/marble/geodata/data/GeoDataPolyStyle.cpp
index 1eb6c07..c77c1ef 100644
--- a/src/lib/marble/geodata/data/GeoDataPolyStyle.cpp
+++ b/src/lib/marble/geodata/data/GeoDataPolyStyle.cpp
@@ -23,7 +23,10 @@ class GeoDataPolyStylePrivate
{
public:
GeoDataPolyStylePrivate()
- : m_fill( true ), m_outline( true ), m_brushStyle( Qt::SolidPattern )
+ : m_fill(true)
+ , m_outline(true)
+ , m_brushStyle(Qt::SolidPattern)
+ , m_colorIndex(0)
{
}