Skip to content

Commit

Permalink
fix #855
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Jan 15, 2020
1 parent 15a4303 commit d48d7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buildmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,7 @@ QString BuildManager::findCompiledFile(const QString &compiledFilename, const QF

searchPaths << mainFile.absolutePath();
searchPaths << splitPaths(resolvePaths(additionalPdfPaths));
foundPathname = findFile(compiledFilename, searchPaths, true);
foundPathname = findFile(mainFile.absolutePath()+QDir::separator()+compiledFilename, searchPaths, true);
if (foundPathname == "") {
// If searched filename is relative prepend the mainFile directory
// so PDF viewer shows a reasonable error message
Expand Down

0 comments on commit d48d7f2

Please sign in to comment.