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/muse/app.cpp | |
parent | e15d47a854b5a2786968fd8a783abc6a16d945d3 (diff) |
Moved user config paths. Please see the ChangeLog.
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r-- | muse2/muse/app.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index ecee0f71..d53ed033 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -789,7 +789,7 @@ MusE::MusE(int argc, char** argv) : QMainWindow() //routingPopupView = 0; appName = QString("MusE"); - + setWindowTitle(appName); editSignalMapper = new QSignalMapper(this); midiPluginSignalMapper = new QSignalMapper(this); followSignalMapper = new QSignalMapper(this); @@ -1475,8 +1475,8 @@ MusE::MusE(int argc, char** argv) : QMainWindow() // read list of "Recent Projects" //--------------------------------------------------- - QString prjPath(getenv("HOME")); - prjPath += QString("/.musePrj"); + QString prjPath(configPath); + prjPath += QString("/projects"); FILE* f = fopen(prjPath.toLatin1().constData(), "r"); if (f == 0) { perror("open projectfile"); @@ -2021,8 +2021,8 @@ void MusE::closeEvent(QCloseEvent* event) } // save "Open Recent" list - QString prjPath(getenv("HOME")); - prjPath += "/.musePrj"; + QString prjPath(configPath); + prjPath += "/projects"; FILE* f = fopen(prjPath.toLatin1().constData(), "w"); if (f) { for (int i = 0; i < PROJECT_LIST_LEN; ++i) { |