Fixed open log directory

This commit is contained in:
Klaus Basan
2017-03-02 04:50:56 +01:00
committed by Mathew Sutcliffe
parent f9e0146df9
commit 366ae1f6df

View File

@@ -381,7 +381,7 @@ namespace BlackGui
const QString path(QDir::toNativeSeparators(CDirectoryUtils::getLogDirectory()));
if (QDir(path).exists())
{
QDesktopServices::openUrl(QUrl("file:///" + path));
QDesktopServices::openUrl(QUrl::fromLocalFile(path));
}
});
Q_ASSERT_X(c, Q_FUNC_INFO, "Connect failed");