aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
authordada513 <dada513@protonmail.com>2021-12-31 18:05:40 +0100
committerdada513 <dada513@protonmail.com>2021-12-31 18:05:40 +0100
commitfa98ed3ccd74cbf0228baf13851b6bb6d17d51a3 (patch)
tree5a300af57c0207d38980319d54dc04218828aa1e /launcher/Application.cpp
parent0c177b1086d69993e012ba1fbed1adf6bfe04144 (diff)
parent9579231ccc36d9d32f4d5571ced91e8fe7851643 (diff)
downloadPrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.tar.gz
PrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.tar.bz2
PrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.zip
Merge remote-tracking branch 'upstream/develop' into upstream_update
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 8e0d6c33..cbfdcbe2 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -523,7 +523,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
// Set up paths
{
// Root path is used for updates.
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
QDir foo(FS::PathCombine(binPath, ".."));
m_rootPath = foo.absolutePath();
#elif defined(Q_OS_WIN32)