--- a/src/qtgui/main.cpp
+++ b/src/qtgui/main.cpp
@@ -97,7 +97,6 @@
 #endif
 
 int recollNeedsExit;
-int startIndexingAfterConfig;
 RclMain *mainWindow;
 
 void startManual(const string& helpindex)
@@ -352,10 +351,6 @@
     app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
     app.connect(&app, SIGNAL(aboutToQuit()), mainWindow, SLOT(close()));
 
-    // Start the indexing thread. It will immediately go to sleep waiting for 
-    // something to do.
-    start_idxthread();
-
     mainWindow->sSearch->searchTypCMB->setCurrentIndex(prefs.ssearchTyp);
     mainWindow->sSearch->searchTypeChanged(prefs.ssearchTyp);
     if (op_flags & OPT_q) {