fix (and comment out for lower debug verbosity) a bit of debug that was accessing a pointer before checking

svn path=/trunk/KDE/kdelibs/; revision=1206552
This commit is contained in:
Aaron J. Seigo 2010-12-14 22:53:50 +00:00
parent 1217cd2c19
commit 8ba74ed014

View File

@ -597,7 +597,7 @@ void PopupApplet::timerEvent(QTimerEvent *event)
}
const int popupDuration = d->autohideTimer ? d->autohideTimer->interval() : 0;
kDebug() << d->autohideTimer->interval();
//kDebug() << "popupDuration is:" << (d->autohideTimer ? d->autohideTimer->interval() : 0);
if (popupDuration > 0) {
d->autohideTimer->start();
} else if (d->autohideTimer) {
@ -726,7 +726,6 @@ void PopupAppletPrivate::internalTogglePopup()
}
if (dialog->isVisible()) {
if (q->location() != Floating) {
dialog->animatedHide(locationToInverseDirection(q->location()));
} else {