Commit 87edf909 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Worldclock: default locationLongitude to 0 if not available

parent 4e97f5be
......@@ -51,7 +51,7 @@ Item {
readonly property int centerMode: plasmoid.configuration.centerMode
readonly property double fixedLongitude: plasmoid.configuration.fixedLongitude
readonly property double locationLongitude: geolocationDataSource.data.longitude
readonly property double locationLongitude: geolocationDataSource.data.longitude || 0
enabled: false // do not handle input
Layout.minimumWidth: units.gridUnit * 20
......
Supports Markdown
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