Merge pull request #2805 from okrc/okrc-patch-1
Update NewBoxWizard.cpp
This commit is contained in:
commit
9f2464f7d1
|
@ -147,7 +147,7 @@ QString CNewBoxWizard::GetDefaultLocation()
|
|||
{
|
||||
QString DefaultPath = theAPI->GetGlobalSettings()->GetText("FileRootPath", "\\??\\%SystemDrive%\\Sandbox\\%USER%\\%SANDBOX%", false, false);
|
||||
// HACK HACK: globally %SANDBOX% evaluates to GlobalSettings
|
||||
DefaultPath.replace("\\GlobalSettings", "\\" + field("boxName").toString());
|
||||
DefaultPath.replace("\\GlobalSettings", "\\" + field("boxName").toString().replace(" ", "_"));
|
||||
return theAPI->Nt2DosPath(DefaultPath);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue