Launcher: small fix for mac

pull/21/head
Nikolay Kasyanov 14 years ago
parent db20186e50
commit d2a0d3dd67

@ -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…
Cancel
Save