Fixed open path a second time

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit 12bf913764)
This commit is contained in:
Trial97 2024-01-22 20:36:57 +02:00 committed by github-actions[bot]
parent a8b168dc1f
commit bc63e1906f

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)