diff options
Diffstat (limited to 'muse2/muse/main.cpp')
-rw-r--r-- | muse2/muse/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/muse2/muse/main.cpp b/muse2/muse/main.cpp index 76917aec..8a0b5cec 100644 --- a/muse2/muse/main.cpp +++ b/muse2/muse/main.cpp @@ -255,7 +255,11 @@ int main(int argc, char* argv[]) //museGlobalShare = museGlobal + QString("/") + QString(SHAREINSTPREFIX); } museProject = museProjectInitPath; //getcwd(0, 0); - configName = QString(getenv("HOME")) + QString("/.MusE"); + + // Create config dir if it doesn't exists + QDir cPath = QDir(configPath); + if (! cPath.exists()) + cPath.mkpath("."); museInstruments = museGlobalShare + QString("/instruments"); |