Small fix for msr-file paths with spaces and strange characters
This commit is contained in:
parent
a6d10e11e3
commit
13410aa97c
@ -2052,7 +2052,7 @@ void PTextEdit::musrView()
|
||||
QString cmd;
|
||||
QString str;
|
||||
|
||||
str = "cd " + QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "; ";
|
||||
str = "cd \"" + QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "\"; ";
|
||||
|
||||
str += fAdmin->getExecPath() + "/musrview";
|
||||
cmd = str + " \"";
|
||||
|
@ -1769,7 +1769,7 @@ void PTextEdit::musrView()
|
||||
QString cmd;
|
||||
QString str;
|
||||
|
||||
str = "cd " + QFileInfo(*fFilenames.find( currentEditor() )).dirPath() + "; ";
|
||||
str = "cd \"" + QFileInfo(*fFilenames.find( currentEditor() )).dirPath() + "\"; ";
|
||||
|
||||
str += fAdmin->getExecPath() + "/musrview";
|
||||
cmd = str + " \"";
|
||||
|
Loading…
x
Reference in New Issue
Block a user