aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-19 00:06:44 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-19 00:06:44 +0300
commit319ce8c19f801a4bec920c6778cf140e9f92ee32 (patch)
tree6322b81bf4146ba98b5894ebbb8201a37cc8c044 /launcher/ui/MainWindow.cpp
parent182e19eae3e2aa9f50dde140d10db858b5bf6076 (diff)
parent12cd8a7bea991c2a8d4b59b1cfc9f7c246819fc9 (diff)
downloadPrismLauncher-319ce8c19f801a4bec920c6778cf140e9f92ee32.tar.gz
PrismLauncher-319ce8c19f801a4bec920c6778cf140e9f92ee32.tar.bz2
PrismLauncher-319ce8c19f801a4bec920c6778cf140e9f92ee32.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'launcher/ui/MainWindow.cpp')
-rw-r--r--launcher/ui/MainWindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp
index 1addfe21..e04011ca 100644
--- a/launcher/ui/MainWindow.cpp
+++ b/launcher/ui/MainWindow.cpp
@@ -1234,6 +1234,12 @@ void MainWindow::on_actionViewInstanceFolder_triggered()
DesktopServices::openDirectory(str);
}
+void MainWindow::on_actionViewLauncherRootFolder_triggered()
+{
+ const QString dataPath = QDir::currentPath();
+ DesktopServices::openDirectory(dataPath);
+}
+
void MainWindow::refreshInstances()
{
APPLICATION->instances()->loadList();