From a0783e15270829ef14afaa4f2706863b23fa9d26 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Tue, 3 Nov 2015 15:27:25 +0000 Subject: [PATCH] Amend f441590c --- src/frontends/qt4/GuiLog.cpp | 3 +-- src/frontends/qt4/ui/LogUi.ui | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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