29 lines
1.5 KiB
Diff
29 lines
1.5 KiB
Diff
|
Index: rosegarden-10.04/src/gui/widgets/FileDialog.cpp
|
||
|
===================================================================
|
||
|
--- rosegarden-10.04.orig/src/gui/widgets/FileDialog.cpp
|
||
|
+++ rosegarden-10.04/src/gui/widgets/FileDialog.cpp
|
||
|
@@ -47,8 +47,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: rosegarden-10.04/src/gui/studio/BankEditorDialog.cpp
|
||
|
===================================================================
|
||
|
--- rosegarden-10.04.orig/src/gui/studio/BankEditorDialog.cpp
|
||
|
+++ rosegarden-10.04/src/gui/studio/BankEditorDialog.cpp
|
||
|
@@ -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)" + ";;" +
|