summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-03 17:41:01 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-03 17:41:01 +0100
commitdfed81e21835cefb053957f4bf31b2360bf209af (patch)
treee21a73c1cef1606324f96ba455827c5a44366548 /linux
parent6ee7506ed9f6c6f20115733bd2381be646e3759c (diff)
downloadqtlocation-mapboxgl-dfed81e21835cefb053957f4bf31b2360bf209af.tar.gz
fix settings storage
Diffstat (limited to 'linux')
-rw-r--r--linux/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/settings.cpp b/linux/settings.cpp
index d058337f60..1b4d8a7367 100644
--- a/linux/settings.cpp
+++ b/linux/settings.cpp
@@ -18,7 +18,7 @@ void Settings_MacOSX::load()
rapidjson::Document document;
document.ParseStream<0>(is);
if (document.IsArray()) {
- latitude = document[rapidjson::SizeType(0)].GetDouble();
+ longitude = document[rapidjson::SizeType(0)].GetDouble();
latitude = document[1].GetDouble();
scale = document[2].GetDouble();
angle = document[3].GetDouble();