Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Phone Components
Commits
da0db9ac
Commit
da0db9ac
authored
Feb 25, 2016
by
Marco Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix charging state of battery applet
parent
2163b4fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
applets/battery/package/contents/ui/battery.qml
applets/battery/package/contents/ui/battery.qml
+3
-1
No files found.
applets/battery/package/contents/ui/battery.qml
View file @
da0db9ac
...
...
@@ -152,7 +152,9 @@ Item {
Layout.fillHeight
:
true
hasBattery
:
true
percent
:
pmSource
.
data
[
"
Battery
"
][
"
Percent
"
]
pluggedIn
:
pmSource
.
data
[
"
AC Adapter
"
][
"
Plugged in
"
]
pluggedIn
:
pmSource
.
data
[
"
Battery
"
][
"
State
"
]
==
"
Charging
"
//FIXME: AC Adapter is not present there
//pmSource.data["AC Adapter"]["Plugged in"]
// height: batteryContainer.iconSize
// width: height
}
...
...
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