rosegarden/rosegarden-fix-filepaths.patch
Dave Plater bacc574933 Accepting request 1230781 from home:plater
- Renamed rosegarden-10.10-filepaths.patch to
  rosegarden-fix-filepaths.patch to prevent future confusion.
- enable LV2 beta support

OBS-URL: https://build.opensuse.org/request/show/1230781
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=111
2024-12-13 11:09:59 +00:00

29 lines
1.4 KiB
Diff

Index: b/src/gui/studio/BankEditorDialog.cpp
===================================================================
--- a/src/gui/studio/BankEditorDialog.cpp 2024-12-04 20:06:05.000000000 +0200
+++ b/src/gui/studio/BankEditorDialog.cpp 2024-12-13 12:49:21.584515793 +0200
@@ -1216,7 +1216,7 @@ BankEditorDialog::slotImport()
const QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
#endif
- const QString deviceDir = home + "/.local/share/rosegarden/library";
+ const QString deviceDir = home + "/usr/share/rosegarden/library";
QString urlString = FileDialog::getOpenFileName(
this, // parent
Index: b/src/gui/widgets/FileDialog.cpp
===================================================================
--- a/src/gui/widgets/FileDialog.cpp 2024-12-04 20:06:05.000000000 +0200
+++ b/src/gui/widgets/FileDialog.cpp 2024-12-13 12:49:21.584515793 +0200
@@ -58,8 +58,8 @@ FileDialog::FileDialog(QWidget *parent,
#else
QString home = QDesktopServices::storageLocation(QDesktopServices::HomeLocation);
#endif
- QString examples = home + "/.local/share/rosegarden/examples";
- QString templates = home + "/.local/share/rosegarden/templates";
+ QString examples = home + "/usr/share/rosegarden/examples";
+ QString templates = home + "/usr/share/rosegarden/templates";
QString rosegarden = home + "/rosegarden";
RG_DEBUG << "FileDialog::FileDialog(...)"