--- a/src/qtgui/recollmain.ui.h
+++ b/src/qtgui/recollmain.ui.h
@@ -248,7 +248,7 @@
return;
// Look for appropriate viewer
- string cmd = getMimeViewer(doc.mimetype, rclconfig->getMimeConf());
+ string cmd = rclconfig->getMimeViewerDef(doc.mimetype);
if (cmd.length() == 0) {
QMessageBox::warning(0, "Recoll",
tr("No external viewer configured for mime type ")
@@ -409,8 +409,7 @@
string img_name;
if (showicons) {
- string iconname = getMimeIconName(doc.mimetype,
- rclconfig->getMimeConf());
+ string iconname = rclconfig->getMimeIconName(doc.mimetype);
if (iconname.empty())
iconname = "document";
string imgfile = iconsdir + "/" + iconname + ".png";