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
commit e60235cb88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)