File correct-path-saved-lyrics.patch of Package cantata

From 5a8fcd033fbab98c68583a509f775fd2bab6a947 Mon Sep 17 00:00:00 2001
From: Craig Drummond <craig.p.drummond@gmail.com>
Date: Sun, 1 Mar 2020 14:17:52 +0000
Subject: [PATCH] Correctly set 'storeLyricsInMpdDir' config item, UI was
 setting wrong config item. Issue #1576

---
diff --git a/context/othersettings.cpp b/context/othersettings.cpp
index 2f403cbc0..5aebeb664 100644
--- a/context/othersettings.cpp
+++ b/context/othersettings.cpp
@@ -54,7 +54,7 @@ void OtherSettings::load()
     wikipediaIntroOnly->setChecked(Settings::self()->wikipediaIntroOnly());
     contextDarkBackground->setChecked(Settings::self()->contextDarkBackground());
     contextAlwaysCollapsed->setChecked(Settings::self()->contextAlwaysCollapsed());
-    storeCoversInMpdDir->setChecked(Settings::self()->storeCoversInMpdDir());
+    storeLyricsInMpdDir->setChecked(Settings::self()->storeLyricsInMpdDir());
 
     int bgnd=Settings::self()->contextBackdrop();
     contextBackdrop_none->setChecked(bgnd==contextBackdrop_none->property(constValueProperty).toInt());
@@ -76,7 +76,7 @@ void OtherSettings::save()
     Settings::self()->saveWikipediaIntroOnly(wikipediaIntroOnly->isChecked());
     Settings::self()->saveContextDarkBackground(contextDarkBackground->isChecked());
     Settings::self()->saveContextAlwaysCollapsed(contextAlwaysCollapsed->isChecked());
-    Settings::self()->saveStoreCoversInMpdDir(storeCoversInMpdDir->isChecked());
+    Settings::self()->saveStoreLyricsInMpdDir(storeLyricsInMpdDir->isChecked());
 
     if (contextBackdrop_none->isChecked()) {
         Settings::self()->saveContextBackdrop(contextBackdrop_none->property(constValueProperty).toInt());
diff --git a/context/othersettings.ui b/context/othersettings.ui
index b08bd498f..19cdc47c7 100644
--- a/context/othersettings.ui
+++ b/context/othersettings.ui
@@ -198,7 +198,7 @@
     </widget>
    </item>
    <item row="3" column="0" colspan="2">
-    <widget class="QCheckBox" name="storeCoversInMpdDir">
+    <widget class="QCheckBox" name="storeLyricsInMpdDir">
      <property name="text">
       <string>Save downloaded lyrics into music folder</string>
      </property>
openSUSE Build Service is sponsored by