summaryrefslogtreecommitdiff
path: root/community/musescore/mscore-docs.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-02 03:18:35 -0700
committerroot <root@rshg054.dnsready.net>2013-10-02 03:18:35 -0700
commitccdfb7506009a95df3049db791408ac9b291b6e2 (patch)
tree9f6f7864bf3718228738f5e3163f736ba8323dac /community/musescore/mscore-docs.patch
parentb2bab0c3032e55f291c1df002c13319de0bdb8cf (diff)
Wed Oct 2 03:15:27 PDT 2013
Diffstat (limited to 'community/musescore/mscore-docs.patch')
-rwxr-xr-xcommunity/musescore/mscore-docs.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/musescore/mscore-docs.patch b/community/musescore/mscore-docs.patch
new file mode 100755
index 000000000..544dffd86
--- /dev/null
+++ b/community/musescore/mscore-docs.patch
@@ -0,0 +1,21 @@
+--- a/mscore/mscore.cpp
++++ b/mscore/mscore.cpp
+@@ -919,15 +919,15 @@
+ if (debugMode)
+ printf("open handbook for language <%s>\n", qPrintable(lang));
+
+- QFileInfo mscoreHelp(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf"));
++ QFileInfo mscoreHelp(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf"));
+ if (!mscoreHelp.isReadable()) {
+ if (debugMode) {
+ printf("cannot open doc <%s>\n", qPrintable(mscoreHelp.filePath()));
+ }
+ lang = lang.left(2);
+- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf"));
++ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf"));
+ if(!mscoreHelp.isReadable()){
+- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-en.pdf"));
++ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-en.pdf"));
+ if (!mscoreHelp.isReadable()) {
+ QString info(tr("MuseScore handbook not found at: \n"));
+ info += mscoreHelp.filePath();