mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:37:31 +02:00
fix mac compile problem
This commit is contained in:
parent
4f0936d384
commit
e505174041
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ Q_INVOKABLE void LauncherState::openURLInBrowser(QString url) {
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
ShellExecute(0, 0, url.toLatin1(), 0, 0 , SW_SHOW);
|
ShellExecute(0, 0, url.toLatin1(), 0, 0 , SW_SHOW);
|
||||||
#elif defined(Q_OS_DARWIN)
|
#elif defined(Q_OS_DARWIN)
|
||||||
system("open \"" + url.toLatin1() + "\");
|
system("open \"" + url.toLatin1() + "\"");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue