2020-06-03 13:29:54 +00:00
|
|
|
Index: rosegarden-19.12/src/gui/widgets/FileDialog.cpp
|
2015-12-15 14:40:40 +00:00
|
|
|
===================================================================
|
2020-06-03 13:29:54 +00:00
|
|
|
--- rosegarden-19.12.orig/src/gui/widgets/FileDialog.cpp 2020-06-03 13:56:13.142007118 +0200
|
|
|
|
+++ rosegarden-19.12/src/gui/widgets/FileDialog.cpp 2020-06-03 13:56:27.638580234 +0200
|
2017-04-22 09:17:43 +00:00
|
|
|
@@ -56,8 +56,8 @@ FileDialog::FileDialog(QWidget *parent,
|
2015-08-30 06:43:43 +00:00
|
|
|
#else
|
2017-04-22 09:17:43 +00:00
|
|
|
QString home = QDesktopServices::storageLocation(QDesktopServices::HomeLocation);
|
2015-08-30 06:43:43 +00:00
|
|
|
#endif
|
2010-11-08 16:19:59 +00:00
|
|
|
- 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";
|
|
|
|
|
2016-07-20 16:51:40 +00:00
|
|
|
RG_DEBUG << "FileDialog::FileDialog(...)"
|
2020-06-03 13:29:54 +00:00
|
|
|
Index: rosegarden-19.12/src/gui/studio/BankEditorDialog.cpp
|
2015-12-15 14:40:40 +00:00
|
|
|
===================================================================
|
2020-06-03 13:29:54 +00:00
|
|
|
--- rosegarden-19.12.orig/src/gui/studio/BankEditorDialog.cpp 2020-06-03 13:56:13.142007118 +0200
|
|
|
|
+++ rosegarden-19.12/src/gui/studio/BankEditorDialog.cpp 2020-06-03 13:56:27.638580234 +0200
|
2017-04-22 09:17:43 +00:00
|
|
|
@@ -1553,7 +1553,7 @@ BankEditorDialog::slotImport()
|
2015-08-30 06:43:43 +00:00
|
|
|
#else
|
2010-11-08 16:19:59 +00:00
|
|
|
QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
|
2015-08-30 06:43:43 +00:00
|
|
|
#endif
|
2010-11-08 16:19:59 +00:00
|
|
|
- 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)" + ";;" +
|