if it is an iconified PopupApplet in setAspectRatioMode store the new mode in the variable d->savedAspectRatio

svn path=/trunk/KDE/kdelibs/; revision=1051080
This commit is contained in:
Giulio Camuffo 2009-11-18 20:18:32 +00:00
parent a35e7394c3
commit 79dfc044dd

View File

@ -1498,6 +1498,7 @@ void Applet::setAspectRatioMode(Plasma::AspectRatioMode mode)
PopupApplet *popup = qobject_cast<PopupApplet *>(this);
if (popup && popup->d->dialogPtr) {
popup->d->dialogPtr.data()->setAspectRatioMode(mode);
popup->d->savedAspectRatio = mode;
}
d->aspectRatioMode = mode;