mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Fixed open log directory
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f9e0146df9
commit
366ae1f6df
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user