aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2014-09-04 14:21:15 -0400
committerKen Moore <moorekou@gmail.com>2014-09-04 14:21:15 -0400
commita77599d701bc95954939693674790c60cf34c15b (patch)
treef483faf8682a6a429686a7ca921e18af65f387d9 /lumina-desktop
parentUpdate README.md (diff)
downloadlumina-a77599d701bc95954939693674790c60cf34c15b.tar.gz
lumina-a77599d701bc95954939693674790c60cf34c15b.tar.bz2
lumina-a77599d701bc95954939693674790c60cf34c15b.zip
Update SysMenuQuick.cpp
Change the "charging" text to "connected" instead, since if it is at %100 it is no longer technically charging....
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp b/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp
index 550dbeac..6314a9eb 100644
--- a/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp
+++ b/lumina-desktop/panel-plugins/systemdashboard/SysMenuQuick.cpp
@@ -68,7 +68,7 @@ void LSysMenuQuick::UpdateMenu(){
else if(val < 70){ ui->label_bat_icon->setPixmap( LXDG::findIcon("battery-charging-060","").pixmap(ui->label_bat_icon->maximumSize()) ); }
else if(val < 90){ ui->label_bat_icon->setPixmap( LXDG::findIcon("battery-charging-080","").pixmap(ui->label_bat_icon->maximumSize()) ); }
else{ ui->label_bat_icon->setPixmap( LXDG::findIcon("battery-charging","").pixmap(ui->label_bat_icon->maximumSize()) ); }
- ui->label_bat_text->setText( QString("%1%\n(%2)").arg(QString::number(val), tr("charging")) );
+ ui->label_bat_text->setText( QString("%1%\n(%2)").arg(QString::number(val), tr("connected")) );
}else{
if(val < 1){ ui->label_bat_icon->setPixmap( LXDG::findIcon("battery-missing","").pixmap(ui->label_bat_icon->maximumSize()) ); }
else if(val < 15){ ui->label_bat_icon->setPixmap( LXDG::findIcon("battery-low","").pixmap(ui->label_bat_icon->maximumSize()) ); }
@@ -159,4 +159,4 @@ QString LSysMenuQuick::getRemainingTime(){
void LSysMenuQuick::startLogout(){
emit CloseMenu();
LSession::systemWindow();
-} \ No newline at end of file
+}
bgstack15