From kde-commits Sun Nov 23 17:55:40 2008 From: Marco Martin Date: Sun, 23 Nov 2008 17:55:40 +0000 To: kde-commits Subject: KDE/kdelibs/plasma (silent) Message-Id: <1227462940.541686.7105.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122746295000387 SVN commit 888075 by mart: SVN_SILENT: comments++ M +2 -0 popupapplet.cpp --- trunk/KDE/kdelibs/plasma/popupapplet.cpp #888074:888075 @@ -147,6 +147,7 @@ containmentSize = q->containment()->size(); } + //Applet on desktop if (icon && !icon->icon().isNull() && ((f != Plasma::Vertical && f != Plasma::Horizontal) || ((f == Plasma::Vertical && containmentSize.width() >= minimum.width()) || (f == Plasma::Horizontal && containmentSize.height() >= minimum.height())))) { @@ -214,6 +215,7 @@ if (oldSize.width() < q->minimumSize().width() || oldSize.height() < q->minimumSize().height()) { q->resize(prefSize); } + //Applet on popup } else { //save the aspect ratio mode in case we drag'n drop in the Desktop later savedAspectRatio = q->aspectRatioMode();