aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-09-11 19:15:28 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-09-11 19:15:28 -0400
commitfd79ef074fcaceba7e5caf0d5283b96676ce6779 (patch)
tree19b2904b0cfef59e85a6e06bc37ade237e2370a2
parentAdded the option of playing multiple videos or one video in a loop (diff)
downloadlumina-fd79ef074fcaceba7e5caf0d5283b96676ce6779.tar.gz
lumina-fd79ef074fcaceba7e5caf0d5283b96676ce6779.tar.bz2
lumina-fd79ef074fcaceba7e5caf0d5283b96676ce6779.zip
Made the monitor widget label names translateable
-rw-r--r--src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp b/src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp
index 951bcc98..7097e2a9 100644
--- a/src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp
+++ b/src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp
@@ -17,6 +17,9 @@ MonitorWidget::MonitorWidget(QWidget *parent) : QWidget(parent), ui(new Ui::Moni
upTimer->setInterval(2000); //update every 2 seconds
connect(upTimer, SIGNAL(timeout()), this, SLOT(UpdateStats()) );
LoadIcons();
+ ui->label->setText( tr("CPU Temp:") );
+ ui->label_2->setText( tr("CPU Usage:") );
+ ui->label_3->setText( tr("Mem Usage:") );
upTimer->start();
}
@@ -25,7 +28,7 @@ MonitorWidget::~MonitorWidget(){
}
void MonitorWidget::LoadIcons(){
- ui->tabWidget->setTabIcon(0,LXDG::findIcon("appointment-recurring","") ); //Summary
+ ui->tabWidget->setTabIcon(0,LXDG::findIcon("appointment-blank","") ); //Summary
ui->tabWidget->setTabIcon(1,LXDG::findIcon("drive-harddisk","") ); //Disk Usage
//ui->tabWidget->setTabIcon(1,LXDG::findIcon("cpu","") ); //CPU Log
//ui->tabWidget->setTabIcon(2,LXDG::findIcon("media-flash-memory-stick","") ); //Mem Log
@@ -60,4 +63,4 @@ SysMonitorPlugin::SysMonitorPlugin(QWidget *parent, QString ID) : LDPlugin(paren
SysMonitorPlugin::~SysMonitorPlugin(){
//qDebug() << "Remove SysMonitorPlugin";
-} \ No newline at end of file
+}
bgstack15