Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
plasma-phone-components
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
KDE
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 {
...
@@ -152,7 +152,9 @@ Item {
Layout.fillHeight
:
true
Layout.fillHeight
:
true
hasBattery
:
true
hasBattery
:
true
percent
:
pmSource
.
data
[
"
Battery
"
][
"
Percent
"
]
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
// height: batteryContainer.iconSize
// width: height
// 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