fix twinkle of desktop panel

This commit is contained in:
arcan1s 2014-07-23 17:58:01 +04:00
parent 7dd7251a45
commit b9c9aac686
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ optdepends=("amarok: for music player monitor"
makedepends=('automoc4' 'cmake') makedepends=('automoc4' 'cmake')
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
install=${pkgname}.install install=${pkgname}.install
md5sums=('4a7d526fd418513bc329ff2676f636f5') md5sums=('302183c0a39d8c718490eed606ca7795')
backup=('usr/share/config/extsysmon.conf') backup=('usr/share/config/extsysmon.conf')
prepare() { prepare() {

View File

@ -227,6 +227,7 @@ void DesktopPanel::reinit()
layout->addStretch(1); layout->addStretch(1);
updateText(); updateText();
resize(10, 10);
} }
@ -263,7 +264,6 @@ void DesktopPanel::updateText()
text = formatLine[0] + line + formatLine[1]; text = formatLine[0] + line + formatLine[1];
labels[i]->setText(text); labels[i]->setText(text);
} }
resize(1, 1);
} }