Changes required to support FreeBSD
This commit is contained in:
parent
80beccb2c4
commit
7179e75e70
16 changed files with 94 additions and 20 deletions
|
@ -52,7 +52,7 @@ QString MCEditTool::getProgramPath()
|
|||
#else
|
||||
const QString mceditPath = path();
|
||||
QDir mceditDir(mceditPath);
|
||||
#ifdef Q_OS_LINUX
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
if (mceditDir.exists("mcedit.sh"))
|
||||
{
|
||||
return mceditDir.absoluteFilePath("mcedit.sh");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue