diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-08-04 21:47:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 21:47:35 +0200 |
commit | 8d6414d74ad95038f60132f20f46a4af680b97b2 (patch) | |
tree | 0ecb31c2b14cc2a7c9aea4d8f7040899f3b2ace7 /launcher | |
parent | 058b9f927200ac84acc67ddfcb6bd30e7c78f01e (diff) | |
parent | be4fb65470d2a005560e069f7e0969e974767b00 (diff) | |
download | PrismLauncher-8d6414d74ad95038f60132f20f46a4af680b97b2.tar.gz PrismLauncher-8d6414d74ad95038f60132f20f46a4af680b97b2.tar.bz2 PrismLauncher-8d6414d74ad95038f60132f20f46a4af680b97b2.zip |
Merge pull request #1019 from Scrumplex/fix-openbsd-root
Add root path detection on OpenBSD
Diffstat (limited to 'launcher')
-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 2bd91fd7..97d41993 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -321,7 +321,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv) { // Root path is used for updates and portable data -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) QDir foo(FS::PathCombine(binPath, "..")); // typically portable-root or /usr m_rootPath = foo.absolutePath(); #elif defined(Q_OS_WIN32) |