this status hack is not needed anymore

svn path=/trunk/KDE/kdelibs/; revision=1128778
This commit is contained in:
Marco Martin 2010-05-20 08:45:05 +00:00
parent 913d891b8a
commit 1307855db1

View File

@ -277,10 +277,6 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
//kDebug() << "we are expanding the popupapplet";
if (q->status() == UnknownStatus) {
q->setStatus(AcceptingInputStatus);
}
// we only switch to expanded if we aren't horiz/vert constrained and
// this applet has an icon.
// otherwise, we leave it up to the applet itself to figure it out
@ -366,10 +362,6 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
delete proxy.data();
}
if (q->status() == AcceptingInputStatus) {
q->setStatus(UnknownStatus);
}
if (!dialogPtr) {
//save the aspect ratio mode in case we drag'n drop in the Desktop later
savedAspectRatio = q->aspectRatioMode();