Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plasma Add-ons
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Plasma Add-ons
Commits
01fc5332
Commit
01fc5332
authored
Jan 12, 2018
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[weather] Improve ids of config page root items to match page name
parent
445b464a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
applets/weather/package/contents/ui/configUnits.qml
applets/weather/package/contents/ui/configUnits.qml
+5
-5
applets/weather/package/contents/ui/configWeatherStation.qml
applets/weather/package/contents/ui/configWeatherStation.qml
+4
-4
No files found.
applets/weather/package/contents/ui/configUnits.qml
View file @
01fc5332
...
...
@@ -23,7 +23,7 @@ import org.kde.plasma.private.weather 1.0
ColumnLayout
{
id
:
general
ConfigPage
id
:
units
ConfigPage
signal
configurationChanged
...
...
@@ -74,7 +74,7 @@ ColumnLayout {
Layout.minimumWidth
:
units
.
gridUnit
*
8
model
:
TemperatureUnitListModel
textRole
:
"
display
"
onCurrentIndexChanged
:
general
ConfigPage
.
configurationChanged
();
onCurrentIndexChanged
:
units
ConfigPage
.
configurationChanged
();
}
QtControls.Label
{
...
...
@@ -91,7 +91,7 @@ ColumnLayout {
Layout.minimumWidth
:
units
.
gridUnit
*
8
model
:
PressureUnitListModel
textRole
:
"
display
"
onCurrentIndexChanged
:
general
ConfigPage
.
configurationChanged
();
onCurrentIndexChanged
:
units
ConfigPage
.
configurationChanged
();
}
QtControls.Label
{
...
...
@@ -108,7 +108,7 @@ ColumnLayout {
Layout.minimumWidth
:
units
.
gridUnit
*
8
model
:
WindSpeedUnitListModel
textRole
:
"
display
"
onCurrentIndexChanged
:
general
ConfigPage
.
configurationChanged
();
onCurrentIndexChanged
:
units
ConfigPage
.
configurationChanged
();
}
QtControls.Label
{
...
...
@@ -125,7 +125,7 @@ ColumnLayout {
Layout.minimumWidth
:
units
.
gridUnit
*
8
model
:
VisibilityUnitListModel
textRole
:
"
display
"
onCurrentIndexChanged
:
general
ConfigPage
.
configurationChanged
();
onCurrentIndexChanged
:
units
ConfigPage
.
configurationChanged
();
}
}
...
...
applets/weather/package/contents/ui/configWeatherStation.qml
View file @
01fc5332
...
...
@@ -25,7 +25,7 @@ import org.kde.plasma.private.weather 1.0
ColumnLayout
{
id
:
general
ConfigPage
id
:
weatherStation
ConfigPage
property
alias
selectedServices
:
serviceListModel
.
selectedServices
...
...
@@ -103,7 +103,7 @@ ColumnLayout {
onToggled
:
{
model
.
checked
=
checked
;
checked
=
Qt
.
binding
(
function
()
{
return
model
.
checked
;
});
general
ConfigPage
.
configurationChanged
();
weatherStation
ConfigPage
.
configurationChanged
();
}
}
onObjectAdded
:
serviceSelectionMenu
.
insertItem
(
index
,
object
)
...
...
@@ -181,7 +181,7 @@ ColumnLayout {
onActivated
:
{
if
(
row
!==
-
1
)
{
locationDisplay
.
setLocation
(
locationListModel
.
nameForListIndex
(
row
));
general
ConfigPage
.
configurationChanged
();
weatherStation
ConfigPage
.
configurationChanged
();
}
}
...
...
@@ -214,7 +214,7 @@ ColumnLayout {
stepSize
:
5
minimumValue
:
30
maximumValue
:
3600
onValueChanged
:
general
ConfigPage
.
configurationChanged
();
onValueChanged
:
weatherStation
ConfigPage
.
configurationChanged
();
}
}
}
Write
Preview
Markdown
is supported
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