Fixed open path a second time

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-01-22 20:36:57 +02:00
parent 78482d0d3e
commit 12bf913764
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

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)