diff --git a/src/frontends/qt4/GuiLog.cpp b/src/frontends/qt4/GuiLog.cpp index 427e98961a..0b9dd5007e 100644 --- a/src/frontends/qt4/GuiLog.cpp +++ b/src/frontends/qt4/GuiLog.cpp @@ -196,8 +196,7 @@ void GuiLog::on_openDirPB_clicked() support::FileName dir = logfile_.onlyPath(); if (!dir.exists()) return; - QUrl qdir(toqstr(from_utf8("file://" + dir.absFileName())), - QUrl::StrictMode); + QUrl qdir(QUrl::fromLocalFile(toqstr(from_utf8(dir.absFileName())))); // Give hints in case of bugs if (!qdir.isValid()) { LYXERR0("QUrl is invalid!"); diff --git a/src/frontends/qt4/ui/LogUi.ui b/src/frontends/qt4/ui/LogUi.ui index f2497fedc8..3a3db849e3 100644 --- a/src/frontends/qt4/ui/LogUi.ui +++ b/src/frontends/qt4/ui/LogUi.ui @@ -156,7 +156,7 @@ logTB - copyPB + openDirPB updatePB closePB