stop the timers

This commit is contained in:
Aaron Seigo 2011-10-30 10:46:28 +01:00
parent 176d4b896b
commit 356e618364

View File

@ -342,8 +342,10 @@ void DataContainer::timerEvent(QTimerEvent * event)
kDebug() << objectName() << "is unused"; kDebug() << objectName() << "is unused";
emit becameUnused(objectName()); emit becameUnused(objectName());
} }
d->checkUsageTimer.stop();
} else if (event->timerId() == d->storageTimer.timerId()) { } else if (event->timerId() == d->storageTimer.timerId()) {
d->store(); d->store();
d->storageTimer.stop();
} }
} }