--- a/src/qtgui/rclmain_w.cpp
+++ b/src/qtgui/rclmain_w.cpp
@@ -471,6 +471,7 @@
     sdata->setStemlang(stemLang);
 
     Rcl::Query *query = new Rcl::Query(rcldb);
+    query->setCollapseDuplicates(prefs.collapseDuplicates);
 
     if (!query || !query->setQuery(sdata)) {
 	QMessageBox::warning(0, "Recoll", tr("Can't start query: ") +