From 90cfa63b4fb1b52ed15027441c6a979a830d8ca3 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Tue, 21 Dec 2010 09:29:00 +0000 Subject: Moved user config paths. Please see the ChangeLog. --- muse2/muse/app.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'muse2/muse/app.cpp') 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) { -- cgit v1.2.3