Merge pull request #2053 from Trial97/fix_open_path_take_two

This commit is contained in:
Sefa Eyeoglu
2024-01-23 09:29:57 +01:00
committed by GitHub

View File

@@ -46,7 +46,7 @@ bool openPath(const QFileInfo& path, bool ensureFolderPathExists)
if (ensureFolderPathExists) {
FS::ensureFolderPathExists(path);
}
return openUrl(QUrl::fromLocalFile(QFileInfo(path).absolutePath()));
return openUrl(QUrl::fromLocalFile(QFileInfo(path).absoluteFilePath()));
}
bool openPath(const QString& path, bool ensureFolderPathExists)