aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglowiak <52356948+glowiak@users.noreply.github.com>2022-02-06 09:32:55 +0100
committerGitHub <noreply@github.com>2022-02-06 09:32:55 +0100
commite806903d7e611d44c13118eb998140277a7e4ee1 (patch)
tree4b7a46304fdbe149eac48e7affe51eeb4734b565
parent00e12b776bbdc3db5bc8456b046117218ad12b83 (diff)
downloadPrismLauncher-e806903d7e611d44c13118eb998140277a7e4ee1.tar.gz
PrismLauncher-e806903d7e611d44c13118eb998140277a7e4ee1.tar.bz2
PrismLauncher-e806903d7e611d44c13118eb998140277a7e4ee1.zip
Support OpenBSD without patches
-rw-r--r--launcher/tools/MCEditTool.cpp2
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");