fix: simplify resolving of data path

Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-06-15 12:48:22 +02:00 committed by GitHub
parent 475761b295
commit 6812823b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1203,9 +1203,7 @@ void MainWindow::on_actionViewInstanceFolder_triggered()
void MainWindow::on_actionViewLauncherRootFolder_triggered()
{
QDir dataDir = QDir::current();
QString dataPath = dataDir.absolutePath();
const QString dataPath = QDir::currentPath();
DesktopServices::openDirectory(dataPath);
}