diff options
author | glowiak <52356948+glowiak@users.noreply.github.com> | 2022-02-06 09:32:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 09:32:55 +0100 |
commit | e806903d7e611d44c13118eb998140277a7e4ee1 (patch) | |
tree | 4b7a46304fdbe149eac48e7affe51eeb4734b565 | |
parent | 00e12b776bbdc3db5bc8456b046117218ad12b83 (diff) | |
download | PrismLauncher-e806903d7e611d44c13118eb998140277a7e4ee1.tar.gz PrismLauncher-e806903d7e611d44c13118eb998140277a7e4ee1.tar.bz2 PrismLauncher-e806903d7e611d44c13118eb998140277a7e4ee1.zip |
Support OpenBSD without patches
-rw-r--r-- | launcher/tools/MCEditTool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/tools/MCEditTool.cpp b/launcher/tools/MCEditTool.cpp index 21e1a3b0..2c1ec613 100644 --- a/launcher/tools/MCEditTool.cpp +++ b/launcher/tools/MCEditTool.cpp @@ -52,7 +52,7 @@ QString MCEditTool::getProgramPath() #else const QString mceditPath = path(); QDir mceditDir(mceditPath); -#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) if (mceditDir.exists("mcedit.sh")) { return mceditDir.absoluteFilePath("mcedit.sh"); |