aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-19 12:20:50 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-19 12:20:50 +0300
commitec063470d76890d865ea68406ebb1a3a40fa14b1 (patch)
tree7cecd533df5f211ec8d8dbe896c99d34bae27cfc /launcher/ui/MainWindow.cpp
parent6667ff9330cc080ca3c5fc2dd90af6b8420bf3fc (diff)
parent9d22fce53fef7481ad6804aac62c63c4e5411dcc (diff)
downloadPrismLauncher-ec063470d76890d865ea68406ebb1a3a40fa14b1.tar.gz
PrismLauncher-ec063470d76890d865ea68406ebb1a3a40fa14b1.tar.bz2
PrismLauncher-ec063470d76890d865ea68406ebb1a3a40fa14b1.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into mods_txt
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();