mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
QML UI: display gps fix icon in the global drawer
Kirigami prevents us from altering the color of the gps icon in the action menu. So let's display an gps fix icon in the lower left corner of the drawer when the location services is running, colored to match the themes primary accent color. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
a981c3d7c1
commit
d803d3e63c
1 changed files with 5 additions and 0 deletions
|
@ -281,6 +281,11 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
] // end actions
|
] // end actions
|
||||||
|
Kirigami.Icon {
|
||||||
|
source: "icons/" + subsurfaceTheme.currentTheme + "_gps.svg"
|
||||||
|
enabled: false
|
||||||
|
visible: locationServiceEnabled
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue