diff options
| author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-06-15 12:48:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-15 12:48:22 +0200 |
| commit | 6812823b55678230dd1fcd14973abc8d9a5d7245 (patch) | |
| tree | 3dfcddfd9f88358fd7233b2a653d0e0705b51064 | |
| parent | 475761b295b3c77aa852af254f783340055090f6 (diff) | |
| download | PrismLauncher-6812823b55678230dd1fcd14973abc8d9a5d7245.tar.gz PrismLauncher-6812823b55678230dd1fcd14973abc8d9a5d7245.tar.bz2 PrismLauncher-6812823b55678230dd1fcd14973abc8d9a5d7245.zip | |
fix: simplify resolving of data path
Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
| -rw-r--r-- | launcher/ui/MainWindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index 629ace83..6b219197 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -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); } |
