i can't get work done with this noise

svn path=/trunk/KDE/kdelibs/; revision=959950
This commit is contained in:
Aaron J. Seigo 2009-04-27 16:04:28 +00:00
parent 2e1ca49249
commit 7fc1a201ff

View File

@ -160,7 +160,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
QSizeF containmentSize; QSizeF containmentSize;
QGraphicsWidget *gWidget = q->graphicsWidget(); QGraphicsWidget *gWidget = q->graphicsWidget();
kDebug() << "graphics widget is" << (QObject*)gWidget; //kDebug() << "graphics widget is" << (QObject*)gWidget;
QWidget *qWidget = q->widget(); QWidget *qWidget = q->widget();
if (gWidget) { if (gWidget) {
@ -183,7 +183,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
if (icon && !icon->icon().isNull() && ((f != Plasma::Vertical && f != Plasma::Horizontal) || if (icon && !icon->icon().isNull() && ((f != Plasma::Vertical && f != Plasma::Horizontal) ||
((f == Plasma::Vertical && containmentSize.width() >= minimum.width()) || ((f == Plasma::Vertical && containmentSize.width() >= minimum.width()) ||
(f == Plasma::Horizontal && containmentSize.height() >= minimum.height())))) { (f == Plasma::Horizontal && containmentSize.height() >= minimum.height())))) {
kDebug() << "we are expanding the popupapplet"; //kDebug() << "we are expanding the popupapplet";
// we only switch to expanded if we aren't horiz/vert constrained and // we only switch to expanded if we aren't horiz/vert constrained and
// this applet has an icon. // this applet has an icon.
@ -259,7 +259,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
} }
//Applet on popup //Applet on popup
} else { } else {
kDebug() << "about to switch to a popup"; //kDebug() << "about to switch to a popup";
//save the aspect ratio mode in case we drag'n drop in the Desktop later //save the aspect ratio mode in case we drag'n drop in the Desktop later
savedAspectRatio = q->aspectRatioMode(); savedAspectRatio = q->aspectRatioMode();