diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-21 09:29:00 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-21 09:29:00 +0000 |
commit | 90cfa63b4fb1b52ed15027441c6a979a830d8ca3 (patch) | |
tree | b44ee81311c34c6582d4f7f79546a419e4969b23 /muse2/synti/deicsonze | |
parent | e15d47a854b5a2786968fd8a783abc6a16d945d3 (diff) |
Moved user config paths. Please see the ChangeLog.
Diffstat (limited to 'muse2/synti/deicsonze')
-rw-r--r-- | muse2/synti/deicsonze/deicsonze.cpp | 2 | ||||
-rw-r--r-- | muse2/synti/deicsonze/deicsonzegui.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/muse2/synti/deicsonze/deicsonze.cpp b/muse2/synti/deicsonze/deicsonze.cpp index 049daeed..0168432a 100644 --- a/muse2/synti/deicsonze/deicsonze.cpp +++ b/muse2/synti/deicsonze/deicsonze.cpp @@ -166,7 +166,7 @@ DeicsOnze::DeicsOnze() : Mess(2) { //Load configuration QString defaultConf = - (QString(getenv("HOME")) + QString("/." DEICSONZESTR ".dco")); + (configPath + QString("/" DEICSONZESTR ".dco")); FILE* f; f = fopen(defaultConf.toAscii().data(), "r"); if(f) { diff --git a/muse2/synti/deicsonze/deicsonzegui.cpp b/muse2/synti/deicsonze/deicsonzegui.cpp index 84cf4d22..58fbb903 100644 --- a/muse2/synti/deicsonze/deicsonzegui.cpp +++ b/muse2/synti/deicsonze/deicsonzegui.cpp @@ -553,7 +553,7 @@ void DeicsOnzeGui::saveConfiguration() { // saveDefaultConfiguration //----------------------------------------------------------- void DeicsOnzeGui::saveDefaultConfiguration() { - QString filename = QString(getenv("HOME")) + QString("/." DEICSONZESTR ".dco"); + QString filename = configPath + QString("/" DEICSONZESTR ".dco"); if(!filename.isEmpty()) { QFile f(filename); f.open(QIODevice::WriteOnly); |