mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
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:
@ -1203,9 +1203,7 @@ void MainWindow::on_actionViewInstanceFolder_triggered()
|
|||||||
|
|
||||||
void MainWindow::on_actionViewLauncherRootFolder_triggered()
|
void MainWindow::on_actionViewLauncherRootFolder_triggered()
|
||||||
{
|
{
|
||||||
QDir dataDir = QDir::current();
|
const QString dataPath = QDir::currentPath();
|
||||||
QString dataPath = dataDir.absolutePath();
|
|
||||||
|
|
||||||
DesktopServices::openDirectory(dataPath);
|
DesktopServices::openDirectory(dataPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user