This commit is contained in:
Guillaume Munch 2015-11-03 15:27:25 +00:00
parent 338f0174cf
commit a0783e1527
2 changed files with 2 additions and 3 deletions

View File

@ -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!");

View File

@ -156,7 +156,7 @@
</widget>
<tabstops>
<tabstop>logTB</tabstop>
<tabstop>copyPB</tabstop>
<tabstop>openDirPB</tabstop>
<tabstop>updatePB</tabstop>
<tabstop>closePB</tabstop>
</tabstops>