aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-05-22 14:47:15 -0400
committerKen Moore <ken@pcbsd.org>2015-05-22 14:47:15 -0400
commit6ab06b834b9e8b5af52a5ce7924900ed47b0ab8b (patch)
tree129f70d13d164e8c1db809a3befdd86f48908877
parentEnsure that the "change User icon" button in lumina-config only makes the cah... (diff)
downloadlumina-6ab06b834b9e8b5af52a5ce7924900ed47b0ab8b.tar.gz
lumina-6ab06b834b9e8b5af52a5ce7924900ed47b0ab8b.tar.bz2
lumina-6ab06b834b9e8b5af52a5ce7924900ed47b0ab8b.zip
Fix a missing icon in the new system monitor plugin.
-rw-r--r--lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp b/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp
index 419b33cb..f5bff7b3 100644
--- a/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp
+++ b/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.cpp
@@ -27,7 +27,7 @@ MonitorWidget::~MonitorWidget(){
void MonitorWidget::LoadIcons(){
ui->tabWidget->setTabIcon(0,LXDG::findIcon("appointment-recurring","") ); //Summary
ui->tabWidget->setTabIcon(1,LXDG::findIcon("cpu","") ); //CPU Log
- ui->tabWidget->setTabIcon(2,LXDG::findIcon("media-flash-memory","") ); //Mem Log
+ ui->tabWidget->setTabIcon(2,LXDG::findIcon("media-flash-memory-stick","") ); //Mem Log
}
void MonitorWidget::UpdateStats(){
@@ -53,7 +53,7 @@ SysMonitorPlugin::SysMonitorPlugin(QWidget *parent, QString ID) : LDPlugin(paren
this->layout()->setContentsMargins(0,0,0,0);
this->layout()->addWidget(monitor);
- this->setInitialSize(300,75);
+ this->setInitialSize(monitor->width(),monitor->height());
}
SysMonitorPlugin::~SysMonitorPlugin(){
bgstack15