mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 09:53:52 +00:00
Merge pull request #1 from corristo/newlauncher
small mac-specific fix in launcher
This commit is contained in:
commit
ff95dd4bf2
1 changed files with 4 additions and 0 deletions
|
@ -210,6 +210,10 @@ void MainDialog::play()
|
|||
#ifdef Q_WS_WIN
|
||||
QString game = "./openmw.exe";
|
||||
QFile file(game);
|
||||
#elif defined(Q_WS_MAC)
|
||||
QDir dir(QCoreApplication::applicationDirPath());
|
||||
QString game = dir.absoluteFilePath("openmw");
|
||||
QFile file(game);
|
||||
#else
|
||||
QString game = "./openmw";
|
||||
QFile file(game);
|
||||
|
|
Loading…
Reference in a new issue