From fab7549b429c2d6b46dbc41d56c36d83110d46de Mon Sep 17 00:00:00 2001 From: Aesylwinn Date: Sat, 3 Sep 2016 17:49:49 -0400 Subject: [PATCH] Fix windows path issue in editor debug run. - The problem was caused by spaces in the data directory --- apps/opencs/model/doc/runner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/model/doc/runner.cpp b/apps/opencs/model/doc/runner.cpp index 5a0bc39be..84bc61a9a 100644 --- a/apps/opencs/model/doc/runner.cpp +++ b/apps/opencs/model/doc/runner.cpp @@ -81,7 +81,7 @@ void CSMDoc::Runner::start (bool delayed) arguments << ("--script-run="+mStartup->fileName());; arguments << - QString::fromUtf8 (("--data="+mProjectPath.parent_path().string()).c_str()); + QString::fromUtf8 (("--data=\""+mProjectPath.parent_path().string()+"\"").c_str()); for (std::vector::const_iterator iter (mContentFiles.begin()); iter!=mContentFiles.end(); ++iter)