[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdebase/workspace/libs/plasma/widgets
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2008-07-29 0:32:31
Message-ID: 1217291551.179396.1260.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 838896 by aseigo:
backport resize fix by alex
M +6 -0 icon.cpp
--- branches/KDE/4.1/kdebase/workspace/libs/plasma/widgets/icon.cpp #838895:838896
@@ -974,7 +974,10 @@
{
d->text = text;
// cause a relayout
+ // FIXME: is invalidating d->currentSize really necessary?
+ // FIXME: is d->currentSize really necessary at all?
d->currentSize = QSizeF(-1, -1);
+ resize(sizeFromIconSize(d->iconSize.width()));
}
QString Icon::text() const
@@ -986,7 +989,10 @@
{
d->infoText = text;
// cause a relayout
+ // FIXME: is invalidating d->currentSize really necessary?
+ // FIXME: is d->currentSize really necessary at all?
d->currentSize = QSizeF(-1, -1);
+ resize(sizeFromIconSize(d->iconSize.width()));
}
QString Icon::infoText() const
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic