don't need this timer to keep running indefinitely

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805650
This commit is contained in:
Aaron J. Seigo 2008-05-09 02:35:29 +00:00
parent 450c826c69
commit 5de8aff8ce

View File

@ -1139,6 +1139,7 @@ QSizeF Applet::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
void Applet::timerEvent(QTimerEvent *event) void Applet::timerEvent(QTimerEvent *event)
{ {
if (event->timerId() == d->constraintsTimerId) { if (event->timerId() == d->constraintsTimerId) {
killTimer(d->constraintsTimerId);
d->constraintsTimerId = 0; d->constraintsTimerId = 0;
flushPendingConstraintsEvents(); flushPendingConstraintsEvents();
} }