fix: Prism sets the data dir to the working directory.

Signed-off-by: Redson <redson@riseup.net>
This commit is contained in:
Redson 2023-05-09 06:36:21 -03:00
parent 0b251fa754
commit 475761b295
No known key found for this signature in database
GPG Key ID: A55CD2880240ABD7

View File

@ -1203,10 +1203,10 @@ void MainWindow::on_actionViewInstanceFolder_triggered()
void MainWindow::on_actionViewLauncherRootFolder_triggered()
{
QDir rootDir(FS::PathCombine(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation), ".."));
QString DataPath = rootDir.absolutePath();
QDir dataDir = QDir::current();
QString dataPath = dataDir.absolutePath();
DesktopServices::openDirectory(DataPath);
DesktopServices::openDirectory(dataPath);
}
void MainWindow::refreshInstances()