Update to 15.10.2 OBS-URL: https://build.opensuse.org/request/show/349004 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=62
29 lines
1.4 KiB
Diff
29 lines
1.4 KiB
Diff
Index: src/gui/widgets/FileDialog.cpp
|
|
===================================================================
|
|
--- src/gui/widgets/FileDialog.cpp.orig
|
|
+++ src/gui/widgets/FileDialog.cpp
|
|
@@ -58,8 +58,8 @@ FileDialog::FileDialog(QWidget *parent,
|
|
#else
|
|
QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
|
|
#endif
|
|
- 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
|
|
+++ src/gui/studio/BankEditorDialog.cpp
|
|
@@ -1568,7 +1568,7 @@ BankEditorDialog::slotImport()
|
|
#else
|
|
QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
|
|
#endif
|
|
- 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)" + ";;" +
|