|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
|
... |
|
... |
927 |
cmd = rclconfig->getMimeViewerDef(doc.mimetype, apptag);
|
927 |
cmd = rclconfig->getMimeViewerDef(doc.mimetype, apptag);
|
928 |
}
|
928 |
}
|
929 |
|
929 |
|
930 |
if (cmd.length() == 0) {
|
930 |
if (cmd.length() == 0) {
|
931 |
QMessageBox::warning(0, "Recoll",
|
931 |
QMessageBox::warning(0, "Recoll",
|
932 |
tr("No external viewer configured for mime type ")
|
932 |
tr("No external viewer configured for mime type [")
|
933 |
+ doc.mimetype.c_str());
|
933 |
+ doc.mimetype.c_str() + "]");
|
934 |
return;
|
934 |
return;
|
935 |
}
|
935 |
}
|
936 |
|
936 |
|
937 |
// Split the command line
|
937 |
// Split the command line
|
938 |
list<string> lcmd;
|
938 |
list<string> lcmd;
|