diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-21 12:01:09 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-21 12:01:09 +0000 |
commit | ac2d334936e34beabf43282d8c96a71886a2c459 (patch) | |
tree | d3c981060f6e658988741765055177bfe882db80 /muse2/muse/song.cpp | |
parent | 90cfa63b4fb1b52ed15027441c6a979a830d8ca3 (diff) |
Commit of the beast. User instruments path is made user configurable. Removed env. variables usage.
Diffstat (limited to 'muse2/muse/song.cpp')
-rw-r--r-- | muse2/muse/song.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp index e0268577..2212228e 100644 --- a/muse2/muse/song.cpp +++ b/muse2/muse/song.cpp @@ -3724,7 +3724,7 @@ void Song::populateScriptMenu(QMenu* menuPlugins, QObject* receiver) // // List scripts // - QString distScripts = QString(SHAREDIR) + "/scripts"; + QString distScripts = museGlobalShare + "/scripts"; QString userScripts = configPath + "/scripts"; @@ -3779,7 +3779,7 @@ void Song::populateScriptMenu(QMenu* menuPlugins, QObject* receiver) QString Song::getScriptPath(int id, bool isdelivered) { if (isdelivered) { - QString path = QString(SHAREDIR) + "/scripts/" + deliveredScriptNames[id]; + QString path = museGlobalShare + "/scripts/" + deliveredScriptNames[id]; return path; } |