Commit 1dd311a6 authored by Martin Koller's avatar Martin Koller

Fix QUrl creation with local file path

parent 375f57c2
......@@ -486,9 +486,7 @@ void LogDialog::slotOk()
QFile::setPermissions(tempFileName, QFileDevice::ReadOwner);
// open file in preferred editor
QUrl url;
(void) new KRun(url, 0, true);
(void) new KRun(QUrl::fromLocalFile(tempFileName), 0, true);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment