rosegarden/rosegarden-10.10-filepaths.patch
Dave Plater e553129ef9 Accepting request 108469 from home:plater
Patched with rosegarden-11.11-gplv2+.patch about box to state GNU General Public License Version 2 or later and patched COPYING to current GPL-2.0 license.
Fixes bnc#745619

OBS-URL: https://build.opensuse.org/request/show/108469
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=49
2012-03-08 10:18:26 +00:00

29 lines
1.5 KiB
Diff

Index: src/gui/widgets/FileDialog.cpp
===================================================================
--- src/gui/widgets/FileDialog.cpp.orig 2011-12-11 22:09:18.000000000 +0200
+++ src/gui/widgets/FileDialog.cpp 2012-03-08 10:16:17.474603556 +0200
@@ -49,8 +49,8 @@ FileDialog::FileDialog(QWidget *parent,
QList<QUrl> urls;
QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
- QString examples = home + "/.local/share/rosegarden/examples";
- QString templates = home + "/.local/share/rosegarden/templates";
+ QString examples = "/usr/share/rosegarden/examples";
+ QString templates = "/usr/share/rosegarden/templates";
QString rosegarden = home + "/rosegarden";
RG_DEBUG << "FileDialog::FileDialog(...)" << endl
Index: src/gui/studio/BankEditorDialog.cpp
===================================================================
--- src/gui/studio/BankEditorDialog.cpp.orig 2011-12-11 22:09:20.000000000 +0200
+++ src/gui/studio/BankEditorDialog.cpp 2012-03-08 10:16:17.475603526 +0200
@@ -1554,7 +1554,7 @@ void
BankEditorDialog::slotImport()
{
QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
- QString deviceDir = home + "/.local/share/rosegarden/library";
+ QString deviceDir = "/usr/share/rosegarden/library";
QString url_str = FileDialog::getOpenFileName(this, tr("Import Banks from Device in File"), deviceDir,
tr("Rosegarden Device files") + " (*.rgd *.RGD)" + ";;" +