adopted to macOS.

This commit is contained in:
suter_a 2018-06-10 15:55:12 +02:00
parent 8c6946164c
commit cb742d7c30

View File

@ -2751,6 +2751,9 @@ void PTextEdit::mupp()
{ {
QString cmd(""); QString cmd("");
cmd = fAdmin->getExecPath() + "/mupp"; cmd = fAdmin->getExecPath() + "/mupp";
#if defined(Q_OS_DARWIN) || defined(Q_OS_MAC)
cmd = QString("/Applications/mupp.app/Contents/MacOS/mupp");
#endif
QProcess *proc = new QProcess(this); QProcess *proc = new QProcess(this);