create soundfonts and sfz directories if they do not exist
This commit is contained in:
parent
ef996b42e7
commit
ada29a982b
1 changed files with 6 additions and 2 deletions
|
@ -486,8 +486,12 @@ void Preferences::read()
|
|||
dir.mkpath(myImagesPath);
|
||||
dir.mkpath(myTemplatesPath);
|
||||
dir.mkpath(myPluginsPath);
|
||||
// dir.mkpath(mySoundFontsPath);
|
||||
// dir.mkpath(mySfzFilesPath);
|
||||
foreach (QString path, sfPath.split(";")) {
|
||||
dir.mkpath(path);
|
||||
}
|
||||
foreach (QString path, sfzPath.split(";")) {
|
||||
dir.mkpath(path);
|
||||
}
|
||||
|
||||
MScore::setHRaster(s.value("hraster", MScore::hRaster()).toInt());
|
||||
MScore::setVRaster(s.value("vraster", MScore::vRaster()).toInt());
|
||||
|
|
Loading…
Reference in a new issue