mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Merge pull request #1 from corristo/newlauncher
small mac-specific fix in launcher
This commit is contained in:
commit
ff95dd4bf2
@ -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…
x
Reference in New Issue
Block a user