--- a/src/qtgui/recollmain.ui.h
+++ b/src/qtgui/recollmain.ui.h
@@ -347,7 +347,7 @@
     if (reldocnum < 0) {
 	// Bad number: must have clicked on header. Show details of query
 	QString desc = tr("Query details") + ": " + 
-	    currentQueryData.description.c_str();
+	    QString::fromUtf8(currentQueryData.description.c_str());
 	QMessageBox::information(this, tr("Query details"), desc);
 	return;
     } else {
@@ -805,6 +805,7 @@
 					   tr("Document history"));
     }
     currentQueryData.erase();
+    currentQueryData.description = tr("History data").utf8();
     showResultPage();
 }