mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
Fix windows path issue in editor debug run.
- The problem was caused by spaces in the data directory
This commit is contained in:
parent
ee432690e6
commit
fab7549b42
@ -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<std::string>::const_iterator iter (mContentFiles.begin());
|
||||
iter!=mContentFiles.end(); ++iter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user