Sebastian.<br>It turns out that you can't add seconds to a QTime which is recording the time (via start/restart). :-( So, I landed up using the method you suggested. I even fixed the bug you mentioned. I'm not sure whether we should provide a notification for suspension, and even if we should I don't think the Nepomuk::EventWatcher is the correct place. The current approach would only provide notifications during the initial run. <br>
However, I've provided both the versions. So, take your pick!<br><br>Does anyone think that a Notification should be shown when the indexing is paused/resumed? <br><br>I've tested the patch, and it works perfectly. The previous version had 2 bugs - The QTime::addMsec syntax was wrong (It doesn't add them to the current object, but returns a new QTime instance), and the one mentioned above.<br>
<br>Please commit it, if you feel it's okay!<br><br>Thanks<br><br>- Vishesh Handa<br>