Skip to content

Commit

Permalink
some fixes, prepare to release 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arcan1s committed Sep 15, 2014
1 parent db7573d commit 17bef06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
12 changes: 0 additions & 12 deletions aticonfig-output

This file was deleted.

7 changes: 2 additions & 5 deletions sources/desktop-panel/desktop-panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down Expand Up @@ -204,15 +201,14 @@ 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
layout->addItem(labels[i], i, 0);
}

updateText(true);
// layout->updateGeometry();
resize(10, 10);
}


Expand Down Expand Up @@ -274,6 +270,7 @@ void DesktopPanel::updateText(const bool first)
text = formatLine[0] + line + formatLine[1];
labels[i]->setText(text);
}
update();
}


Expand Down

0 comments on commit 17bef06

Please sign in to comment.