create soundfonts and sfz directories if they do not exist

This commit is contained in:
lasconic 2013-11-25 08:42:17 +01:00
parent ef996b42e7
commit ada29a982b

View file

@ -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());