Update MCEditTool.cpp
This commit is contained in:
parent
7d21bf15e8
commit
1a004f0c4d
@ -52,7 +52,7 @@ QString MCEditTool::getProgramPath()
|
||||
#else
|
||||
const QString mceditPath = path();
|
||||
QDir mceditDir(mceditPath);
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
if (mceditDir.exists("mcedit.sh"))
|
||||
{
|
||||
return mceditDir.absoluteFilePath("mcedit.sh");
|
||||
|
Loading…
Reference in New Issue
Block a user