Reviewed ok OBS-URL: https://build.opensuse.org/request/show/60052 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=7
29 lines
1.5 KiB
Diff
29 lines
1.5 KiB
Diff
Index: src/gui/widgets/FileDialog.cpp
|
|
===================================================================
|
|
--- src/gui/widgets/FileDialog.cpp.orig 2010-12-17 01:12:44.000000000 +0200
|
|
+++ src/gui/widgets/FileDialog.cpp 2010-12-17 01:13:37.000000000 +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 2010-12-17 01:12:44.000000000 +0200
|
|
+++ src/gui/studio/BankEditorDialog.cpp 2010-12-17 01:13:37.000000000 +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)" + ";;" +
|