mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Amend f441590c
This commit is contained in:
parent
338f0174cf
commit
a0783e1527
@ -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!");
|
||||
|
@ -156,7 +156,7 @@
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>logTB</tabstop>
|
||||
<tabstop>copyPB</tabstop>
|
||||
<tabstop>openDirPB</tabstop>
|
||||
<tabstop>updatePB</tabstop>
|
||||
<tabstop>closePB</tabstop>
|
||||
</tabstops>
|
||||
|
Loading…
Reference in New Issue
Block a user