Bug #229 (Fixed): On OS X Launcher cannot launch game if path to binary contains spaces

actorid
Nikolay Kasyanov 13 years ago
parent 362e6cb9ed
commit 66b31d3d43

@ -175,6 +175,7 @@ void MainDialog::play()
QDir dir(QCoreApplication::applicationDirPath());
QString game = dir.absoluteFilePath("openmw");
QFile file(game);
game = "\"" + game + "\"";
#else
QString game = "./openmw";
QFile file(game);

Loading…
Cancel
Save