some fixes, prepare to release 2.0.2

This commit is contained in:
arcan1s 2014-09-15 20:28:09 +04:00
parent db7573de80
commit 17bef06c98
2 changed files with 2 additions and 17 deletions

View File

@ -1,12 +0,0 @@
aticonfig --od-gettemperature
Default Adapter - AMD Radeon HD 7800 Series
Sensor 0: Temperature - 50.00 C
aticonfig --od-getclocks
Default Adapter - AMD Radeon HD 7800 Series
Core (MHz) Memory (MHz)
Current Clocks : 1100 1250
Current Peak : 1100 1250
Configurable Peak Range : [300-1050] [150-1450]
GPU load : 99%

View File

@ -94,9 +94,6 @@ DesktopPanel::DesktopPanel(QObject *parent, const QVariantList &args)
DesktopPanel::~DesktopPanel()
{
// for (int i=0; i<labels.count(); i++)
// delete labels[i];
// delete layout;
}
@ -204,6 +201,7 @@ void DesktopPanel::reinit()
for (int i=0; i<desktopNames.count(); i++) {
labels.append(new CustomPlasmaLabel(this, i));
labels[i]->setWordWrap(false);
labels[i]->setAttribute(Qt::WA_NoSystemBackground, true);
if (configuration[QString("layout")].toInt() == 0)
layout->addItem(labels[i], 0, i);
else
@ -211,8 +209,6 @@ void DesktopPanel::reinit()
}
updateText(true);
// layout->updateGeometry();
resize(10, 10);
}
@ -274,6 +270,7 @@ void DesktopPanel::updateText(const bool first)
text = formatLine[0] + line + formatLine[1];
labels[i]->setText(text);
}
update();
}