On Mon, Dec 17, 2012 at 2:36 AM, Weng Xuetian <wengxt@gmail.com> wrote:
Git commit aae885c207877cbad087ad49c3f547127d359c62 by Weng Xuetian.
Committed on 16/12/2012 at 21:56.
Pushed by xuetianweng into branch 'master'.

make status update correct

M  +2    -1    services/fileindexer/fileindexingqueue.cpp

http://commits.kde.org/nepomuk-core/aae885c207877cbad087ad49c3f547127d359c62

diff --git a/services/fileindexer/fileindexingqueue.cpp b/services/fileindexer/fileindexingqueue.cpp
index d7b46bf..7f5d20f 100644
--- a/services/fileindexer/fileindexingqueue.cpp
+++ b/services/fileindexer/fileindexingqueue.cpp
@@ -87,8 +87,9 @@ void FileIndexingQueue::slotFinishedIndexingFile(KJob* job)
         kDebug() << job->errorString();
     }

-    emit endIndexingFile( m_currentUrl );
+    QUrl url = m_currentUrl;
     m_currentUrl.clear();
+    emit endIndexingFile( url );

I don't understand why this was done. How does it make a difference if m_currentUrl has its current value when calling endIndexingFile? I have let it have a value just in case someone wishes to call currentUrl() in one of the slots connected to endIndexingFile.

     if( m_fileQueue.isEmpty() ) {
         fillQueue();
     }