diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2021-12-12 00:35:46 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2021-12-12 11:39:36 +0000 |
commit | 7179e75e70f4157326d6d97f11a947df576d02e6 (patch) | |
tree | eaa1e5933288ea60fcce7485ae76d8e33e4ebb79 /launcher/Application.cpp | |
parent | 80beccb2c4585260e5d170c68f72d3d303f777e0 (diff) | |
download | PrismLauncher-7179e75e70f4157326d6d97f11a947df576d02e6.tar.gz PrismLauncher-7179e75e70f4157326d6d97f11a947df576d02e6.tar.bz2 PrismLauncher-7179e75e70f4157326d6d97f11a947df576d02e6.zip |
Changes required to support FreeBSD
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r-- | launcher/Application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index 2d0c81bb..625f99ad 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -512,7 +512,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) |