Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
01ac618d
Commit
01ac618d
authored
Jul 13, 2021
by
Volker Krause
Browse files
Properly qualify StandardPaths enums
parent
30cc2f97
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/FavoriteLocationPage.qml
View file @
01ac618d
...
...
@@ -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
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment