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:
parent
1217cd2c19
commit
8ba74ed014
@ -597,7 +597,7 @@ void PopupApplet::timerEvent(QTimerEvent *event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const int popupDuration = d->autohideTimer ? d->autohideTimer->interval() : 0;
|
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) {
|
if (popupDuration > 0) {
|
||||||
d->autohideTimer->start();
|
d->autohideTimer->start();
|
||||||
} else if (d->autohideTimer) {
|
} else if (d->autohideTimer) {
|
||||||
@ -726,7 +726,6 @@ void PopupAppletPrivate::internalTogglePopup()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (dialog->isVisible()) {
|
if (dialog->isVisible()) {
|
||||||
|
|
||||||
if (q->location() != Floating) {
|
if (q->location() != Floating) {
|
||||||
dialog->animatedHide(locationToInverseDirection(q->location()));
|
dialog->animatedHide(locationToInverseDirection(q->location()));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user