From d1a3aef87afe64fe9673e71b09f05670513e3fbd Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Sun, 6 Dec 2009 20:30:23 +0000 Subject: [PATCH] the aspect ratio mode is already set in popupConstraintsEvent, avoid override of right aspect ratio mode svn path=/trunk/KDE/kdelibs/; revision=1059508 --- popupapplet.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/popupapplet.cpp b/popupapplet.cpp index 989c38b9b..1720a091e 100644 --- a/popupapplet.cpp +++ b/popupapplet.cpp @@ -101,11 +101,6 @@ void PopupApplet::setPopupIcon(const QIcon &icon) layout->setSpacing(0); layout->setOrientation(Qt::Horizontal); - if (formFactor() == Plasma::Vertical || formFactor() == Plasma::Horizontal ) { - d->savedAspectRatio = aspectRatioMode(); - setAspectRatioMode(Plasma::ConstrainedSquare); - } - setLayout(layout); } else { d->icon->setIcon(icon);