added explicit flag parameter to Internfile constructeur for helping with beagle queue integration

This commit is contained in:
dockes
2009-11-10 09:39:13 +00:00
parent 4b8166e86f
commit eea2b1fec5
4 changed files with 40 additions and 17 deletions
+4 -1
View File
@@ -249,7 +249,10 @@ void RecollProtocol::showPreview(const Rcl::Doc& doc)
return;
}
o_rclconfig->setKeyDir(path_getfather(fn));
FileInterner interner(fn, &st, o_rclconfig, tmpdir, &doc.mimetype);
FileInterner interner(fn, &st, o_rclconfig, tmpdir,
FileInterner::FIF_forPreview |
FileInterner::FIF_doUseInputMimetype,
&doc.mimetype);
Rcl::Doc fdoc;
string ipath = doc.ipath;
if (!interner.internfile(fdoc, ipath)) {