2015-12-15 14:40:40 +00:00
|
|
|
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,
|
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 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
|
2015-12-15 14:40:40 +00:00
|
|
|
Index: src/gui/studio/BankEditorDialog.cpp
|
|
|
|
===================================================================
|
|
|
|
--- src/gui/studio/BankEditorDialog.cpp.orig
|
|
|
|
+++ src/gui/studio/BankEditorDialog.cpp
|
|
|
|
@@ -1568,7 +1568,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)" + ";;" +
|