config(WeatherService): add enableGps option

This commit is contained in:
Hasan A. Tekeoğlu
2025-06-28 20:25:36 +03:00
parent 9404b21f82
commit d8f5471b3e
@@ -73,8 +73,10 @@ Singleton {
property int showNumberDelay: 300 // milliseconds
}
property QtObject weather: QtObject {
property bool show: false
// for specific location checkout gps setting
property bool show: true
// gps based location
property bool enableGPS: true
// use if 'enableGPS' is false
property string city: "Istanbul"
// use uscs units
// by default use metric (SI) units
@@ -171,11 +173,4 @@ Singleton {
property QtObject hacks: QtObject {
property int arbitraryRaceConditionDelay: 20 // milliseconds
}
// this is for weather and feature apis
property QtObject gps: QtObject {
property bool active: false
property real latitude: 41.27830580591624
property real longitude: 28.730357071149154
}
}