summaryrefslogtreecommitdiffstats
path: root/map-widget/qmlmapwidgethelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'map-widget/qmlmapwidgethelper.cpp')
-rw-r--r--map-widget/qmlmapwidgethelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map-widget/qmlmapwidgethelper.cpp b/map-widget/qmlmapwidgethelper.cpp
index b2017aa49..f6a0bb64b 100644
--- a/map-widget/qmlmapwidgethelper.cpp
+++ b/map-widget/qmlmapwidgethelper.cpp
@@ -254,7 +254,7 @@ bool MapWidgetHelper::editMode() const
QString MapWidgetHelper::pluginObject()
{
- QString lang = uiLanguage(NULL).replace('_', '-');
+ QString lang = getUiLanguage().replace('_', '-');
QString cacheFolder = QString(system_default_directory()).append("/googlemaps").replace("\\", "/");
return QStringLiteral("import QtQuick 2.0;"
"import QtLocation 5.3;"