Commit 01ac618d authored by Volker Krause's avatar Volker Krause
Browse files

Properly qualify StandardPaths enums

parent 30cc2f97
......@@ -39,7 +39,7 @@ Kirigami.Page {
id: favoriteGpxExportDialog
fileMode: Platform.FileDialog.SaveFile
title: i18n("Export Favorite Locations")
folder: Platform.StandardPaths.writableLocation(StandardPaths.DocumentsLocation)
folder: Platform.StandardPaths.writableLocation(Platform.StandardPaths.DocumentsLocation)
nameFilters: [i18n("GPX Files (*.gpx)")]
onAccepted: FavoriteLocationModel.exportToGpx(file)
}
......@@ -47,7 +47,7 @@ Kirigami.Page {
id: favoriteGpxImportDialog
fileMode: Platform.FileDialog.OpenFile
title: i18n("Import Favorite Locations")
folder: Platform.StandardPaths.writableLocation(StandardPaths.DocumentsLocation)
folder: Platform.StandardPaths.writableLocation(Platform.StandardPaths.DocumentsLocation)
nameFilters: [i18n("GPX Files (*.gpx)")]
onAccepted: FavoriteLocationModel.importFromGpx(file)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment