adopted to macOS.
This commit is contained in:
parent
f07667ef25
commit
d832676494
@ -2745,6 +2745,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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user