mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Bug #229 (Fixed): On OS X Launcher cannot launch game if path to binary contains spaces
This commit is contained in:
parent
362e6cb9ed
commit
66b31d3d43
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ void MainDialog::play()
|
||||||
QDir dir(QCoreApplication::applicationDirPath());
|
QDir dir(QCoreApplication::applicationDirPath());
|
||||||
QString game = dir.absoluteFilePath("openmw");
|
QString game = dir.absoluteFilePath("openmw");
|
||||||
QFile file(game);
|
QFile file(game);
|
||||||
|
game = "\"" + game + "\"";
|
||||||
#else
|
#else
|
||||||
QString game = "./openmw";
|
QString game = "./openmw";
|
||||||
QFile file(game);
|
QFile file(game);
|
||||||
|
|
Loading…
Reference in a new issue