Hello community,

here is the log from the commit of package plasma5-pa for openSUSE:Factory 
checked in at 2020-10-22 14:24:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-pa (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-pa.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-pa"

Thu Oct 22 14:24:41 2020 rev:93 rq:843118 version:5.20.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-pa/plasma5-pa.changes    2020-10-13 
15:30:07.868880119 +0200
+++ /work/SRC/openSUSE:Factory/.plasma5-pa.new.3463/plasma5-pa.changes  
2020-10-22 14:26:04.514954575 +0200
@@ -1,0 +2,12 @@
+Tue Oct 20 14:30:35 UTC 2020 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 5.20.1
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/plasma-5.20.1
+- Changes since 5.20.0:
+  * Bump Controls 2.14 in DeviceCombobox.qml
+  * Correctly look up data in the model (kde#427687)
+  * Simplify DeviceComboBox (kde#408700)
+
+-------------------------------------------------------------------

Old:
----
  plasma-pa-5.20.0.tar.xz
  plasma-pa-5.20.0.tar.xz.sig

New:
----
  plasma-pa-5.20.1.tar.xz
  plasma-pa-5.20.1.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ plasma5-pa.spec ++++++
--- /var/tmp/diff_new_pack.ogF5iA/_old  2020-10-22 14:26:05.114955114 +0200
+++ /var/tmp/diff_new_pack.ogF5iA/_new  2020-10-22 14:26:05.118955117 +0200
@@ -20,7 +20,7 @@
 %define qt5_version 5.12.0
 %bcond_without lang
 Name:           plasma5-pa
-Version:        5.20.0
+Version:        5.20.1
 Release:        0
 Summary:        The Plasma5 Volume Manager
 License:        GPL-2.0-or-later

++++++ plasma-pa-5.20.0.tar.xz -> plasma-pa-5.20.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-pa-5.20.0/CMakeLists.txt 
new/plasma-pa-5.20.1/CMakeLists.txt
--- old/plasma-pa-5.20.0/CMakeLists.txt 2020-10-08 18:24:01.000000000 +0200
+++ new/plasma-pa-5.20.1/CMakeLists.txt 2020-10-20 14:07:02.000000000 +0200
@@ -2,7 +2,7 @@
 
 project(plasma-volume-control)
 
-set(PROJECT_VERSION "5.20.0")
+set(PROJECT_VERSION "5.20.1")
 set(PROJECT_VERSION_MAJOR 5)
 
 set(QT_MIN_VERSION "5.15.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-pa-5.20.0/applet/contents/ui/ListItemBase.qml 
new/plasma-pa-5.20.1/applet/contents/ui/ListItemBase.qml
--- old/plasma-pa-5.20.0/applet/contents/ui/ListItemBase.qml    2020-10-08 
18:23:30.000000000 +0200
+++ new/plasma-pa-5.20.1/applet/contents/ui/ListItemBase.qml    2020-10-20 
14:06:38.000000000 +0200
@@ -435,20 +435,20 @@
                 menuItem.section = true;
                 contextMenu.addMenuItem(menuItem);
                 var sModel = type == "sink-input" ? sinkView.model : 
sourceView.model;
-
                 for (var i = 0; i < sModel.count; ++i) {
-                    var data = sModel.get(i);
+                    const modelIndex = sModel.index(i, 0)
+                    const index = sModel.data(modelIndex, sModel.role("Index"))
                     var menuItem = newMenuItem();
-                    menuItem.text = data.Description;
+                    menuItem.text = sModel.data(modelIndex, 
sModel.role("Description"));
                     menuItem.enabled = true;
                     menuItem.checkable = true;
-                    menuItem.checked = data.Index === PulseObject.deviceIndex;
+                    menuItem.checked = index === PulseObject.deviceIndex;
                     var setActiveSink = function(sinkIndex) {
                         return function() {
                             PulseObject.deviceIndex = sinkIndex;
                         };
                     };
-                    menuItem.clicked.connect(setActiveSink(data.Index));
+                    menuItem.clicked.connect(setActiveSink(index));
                     contextMenu.addMenuItem(menuItem);
                 }
             }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-pa-5.20.0/po/et/kcm_pulseaudio.po 
new/plasma-pa-5.20.1/po/et/kcm_pulseaudio.po
--- old/plasma-pa-5.20.0/po/et/kcm_pulseaudio.po        2020-10-08 
18:23:37.000000000 +0200
+++ new/plasma-pa-5.20.1/po/et/kcm_pulseaudio.po        2020-10-20 
14:06:43.000000000 +0200
@@ -2,20 +2,21 @@
 # This file is distributed under the same license as the PACKAGE package.
 #
 # Marek Laane <qiila...@gmail.com>, 2016, 2019, 2020.
+# Mihkel Tõnnov <mihh...@gmail.com>, 2020.
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2020-07-08 02:18+0200\n"
-"PO-Revision-Date: 2020-06-05 22:40+0300\n"
-"Last-Translator: Marek Laane <qiila...@gmail.com>\n"
-"Language-Team: Estonian <kde...@lists.linux.ee>\n"
+"PO-Revision-Date: 2020-09-28 13:55+0200\n"
+"Last-Translator: Mihkel Tõnnov <mihh...@gmail.com>\n"
+"Language-Team: Estonian <>\n"
 "Language: et\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Lokalize 19.12.3\n"
+"X-Generator: Lokalize 20.08.1\n"
 
 #, kde-format
 msgctxt "NAME OF TRANSLATORS"
@@ -226,7 +227,7 @@
 #: kcm/package/contents/ui/Devices.qml:111
 #, kde-format
 msgid "Show Inactive Devices"
-msgstr ""
+msgstr "Mitteaktiivsete seadmete näitamine"
 
 #: kcm/package/contents/ui/main.qml:36
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-pa-5.20.0/po/et/plasma_applet_org.kde.plasma.volume.po 
new/plasma-pa-5.20.1/po/et/plasma_applet_org.kde.plasma.volume.po
--- old/plasma-pa-5.20.0/po/et/plasma_applet_org.kde.plasma.volume.po   
2020-10-08 18:23:37.000000000 +0200
+++ new/plasma-pa-5.20.1/po/et/plasma_applet_org.kde.plasma.volume.po   
2020-10-20 14:06:43.000000000 +0200
@@ -2,20 +2,21 @@
 # This file is distributed under the same license as the PACKAGE package.
 #
 # Marek Laane <qiila...@gmail.com>, 2016, 2019, 2020.
+# Mihkel Tõnnov <mihh...@gmail.com>, 2020.
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2020-07-20 02:17+0200\n"
-"PO-Revision-Date: 2020-04-04 12:24+0300\n"
-"Last-Translator: Marek Laane <qiila...@gmail.com>\n"
-"Language-Team: Estonian <kde...@lists.linux.ee>\n"
+"PO-Revision-Date: 2020-09-28 13:57+0200\n"
+"Last-Translator: Mihkel Tõnnov <mihh...@gmail.com>\n"
+"Language-Team: Estonian <>\n"
 "Language: et\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Lokalize 19.12.2\n"
+"X-Generator: Lokalize 20.08.1\n"
 
 #: contents/config/config.qml:26
 #, kde-format
@@ -220,12 +221,12 @@
 #: contents/ui/main.qml:653
 #, kde-format
 msgid "show hidden devices"
-msgstr ""
+msgstr "Peidetud seadmete näitamine"
 
 #: contents/ui/main.qml:655
 #, kde-format
 msgid "Show hidden devices"
-msgstr ""
+msgstr "Peidetud seadmete näitamine"
 
 #: contents/ui/main.qml:671 contents/ui/main.qml:673
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-pa-5.20.0/po/pl/kcm_pulseaudio.po 
new/plasma-pa-5.20.1/po/pl/kcm_pulseaudio.po
--- old/plasma-pa-5.20.0/po/pl/kcm_pulseaudio.po        2020-10-08 
18:23:47.000000000 +0200
+++ new/plasma-pa-5.20.1/po/pl/kcm_pulseaudio.po        2020-10-20 
14:06:50.000000000 +0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2020-07-08 02:18+0200\n"
-"PO-Revision-Date: 2020-02-16 09:25+0100\n"
+"PO-Revision-Date: 2020-10-10 03:49+0200\n"
 "Last-Translator: Łukasz Wojniłowicz <lukasz.wojnilow...@gmail.com>\n"
 "Language-Team: Polish <kde-i18n-...@kde.org>\n"
 "Language: pl\n"
@@ -16,7 +16,7 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
 "|| n%100>=20) ? 1 : 2);\n"
-"X-Generator: Lokalize 20.03.70\n"
+"X-Generator: Lokalize 20.08.1\n"
 
 #, kde-format
 msgctxt "NAME OF TRANSLATORS"
@@ -175,10 +175,9 @@
 msgstr "%1 (%2)"
 
 #: kcm/package/contents/ui/DeviceListItem.qml:78
-#, fuzzy, kde-format
-#| msgid "Port"
+#, kde-format
 msgid "Port:"
-msgstr "Złącze"
+msgstr "Port:"
 
 #: kcm/package/contents/ui/DeviceListItem.qml:96
 #, kde-format
@@ -196,15 +195,13 @@
 #, kde-format
 msgctxt "Audio balance (e.g. control left/right volume individually"
 msgid "Balance"
-msgstr ""
+msgstr "Równowaga"
 
 #: kcm/package/contents/ui/DeviceListItem.qml:177
-#, fuzzy, kde-format
-#| msgctxt "volume percentage"
-#| msgid "%1%"
+#, kde-format
 msgctxt "Placeholder is channel name"
 msgid "%1:"
-msgstr "%1%"
+msgstr "%1:"
 
 #: kcm/package/contents/ui/Devices.qml:66
 #, kde-format
@@ -231,7 +228,7 @@
 #: kcm/package/contents/ui/Devices.qml:111
 #, kde-format
 msgid "Show Inactive Devices"
-msgstr ""
+msgstr "Pokaż niedostępne urządzenia"
 
 #: kcm/package/contents/ui/main.qml:36
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-pa-5.20.0/po/pl/plasma_applet_org.kde.plasma.volume.po 
new/plasma-pa-5.20.1/po/pl/plasma_applet_org.kde.plasma.volume.po
--- old/plasma-pa-5.20.0/po/pl/plasma_applet_org.kde.plasma.volume.po   
2020-10-08 18:23:47.000000000 +0200
+++ new/plasma-pa-5.20.1/po/pl/plasma_applet_org.kde.plasma.volume.po   
2020-10-20 14:06:50.000000000 +0200
@@ -7,7 +7,7 @@
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2020-07-20 02:17+0200\n"
-"PO-Revision-Date: 2020-05-16 08:37+0200\n"
+"PO-Revision-Date: 2020-10-10 03:49+0200\n"
 "Last-Translator: Łukasz Wojniłowicz <lukasz.wojnilow...@gmail.com>\n"
 "Language-Team: Polish <kde-i18n-...@kde.org>\n"
 "Language: pl\n"
@@ -16,7 +16,7 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
 "|| n%100>=20) ? 1 : 2);\n"
-"X-Generator: Lokalize 20.07.70\n"
+"X-Generator: Lokalize 20.08.1\n"
 
 #: contents/config/config.qml:26
 #, kde-format
@@ -31,35 +31,32 @@
 #: contents/ui/ConfigGeneral.qml:68
 #, kde-format
 msgid "Play audio feedback for changes to:"
-msgstr ""
+msgstr "Odgrywaj dźwięk zwrotny dla zmian w:"
 
 #: contents/ui/ConfigGeneral.qml:70 contents/ui/ConfigGeneral.qml:81
-#, fuzzy, kde-format
-#| msgid "Audio Volume"
+#, kde-format
 msgid "Audio volume"
 msgstr "Głośność dźwięku"
 
 #: contents/ui/ConfigGeneral.qml:80
-#, fuzzy, kde-format
-#| msgid "Provide visual feedback:"
+#, kde-format
 msgid "Show visual feedback for changes to:"
-msgstr "Daj widzialny znak:"
+msgstr "Pokazuj informację zwrotną dla zmian w:"
 
 #: contents/ui/ConfigGeneral.qml:86
 #, kde-format
 msgid "Microphone sensitivity"
-msgstr ""
+msgstr "Czułość mikrofonu"
 
 #: contents/ui/ConfigGeneral.qml:91
 #, kde-format
 msgid "Mute state"
-msgstr ""
+msgstr "Stan wyciszenia"
 
 #: contents/ui/ConfigGeneral.qml:96
-#, fuzzy, kde-format
-#| msgid "No output device"
+#, kde-format
 msgid "Default output device"
-msgstr "Brak urządzenia wyjściowego"
+msgstr "Domyślne urządzenie wyjściowe"
 
 #: contents/ui/DeviceListItem.qml:40
 #, kde-format
@@ -70,7 +67,7 @@
 #: contents/ui/DeviceListItem.qml:49
 #, kde-format
 msgid "Device name not found"
-msgstr ""
+msgstr "Nie znaleziono nazwy urządzenia"
 
 #: contents/ui/ListItemBase.qml:173
 #, kde-format
@@ -119,20 +116,16 @@
 msgstr "Porty"
 
 #: contents/ui/ListItemBase.qml:388
-#, fuzzy, kde-format
-#| msgctxt "Port is unavailable"
-#| msgid " (unavailable)"
+#, kde-format
 msgctxt "Port is unavailable"
 msgid "%1 (unavailable)"
-msgstr " (niedostępny)"
+msgstr "%1 (niedostępne)"
 
 #: contents/ui/ListItemBase.qml:390
-#, fuzzy, kde-format
-#| msgctxt "Port is unplugged"
-#| msgid " (unplugged)"
+#, kde-format
 msgctxt "Port is unplugged"
 msgid "%1 (unplugged)"
-msgstr " (niepodłączony)"
+msgstr "%1 (niepodłączone)"
 
 #: contents/ui/ListItemBase.qml:431
 #, kde-format
@@ -228,19 +221,19 @@
 #: contents/ui/main.qml:653
 #, kde-format
 msgid "show hidden devices"
-msgstr ""
+msgstr "pokaż ukryte urządzenia"
 
 #: contents/ui/main.qml:655
 #, kde-format
 msgid "Show hidden devices"
-msgstr ""
+msgstr "Pokaż ukryte urządzenia"
 
 #: contents/ui/main.qml:671 contents/ui/main.qml:673
 #, kde-format
 msgid "Force mute all playback devices"
-msgstr ""
+msgstr "Wymuś wyciszenie na wszystkich urządzeniach odtwarzających"
 
 #: contents/ui/StreamListItem.qml:33
 #, kde-format
 msgid "Stream name not found"
-msgstr ""
\ No newline at end of file
+msgstr "Nie znaleziono nazwy strumienia"
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-pa-5.20.0/po/zh_CN/kcm_pulseaudio.po 
new/plasma-pa-5.20.1/po/zh_CN/kcm_pulseaudio.po
--- old/plasma-pa-5.20.0/po/zh_CN/kcm_pulseaudio.po     2020-10-08 
18:23:53.000000000 +0200
+++ new/plasma-pa-5.20.1/po/zh_CN/kcm_pulseaudio.po     2020-10-20 
14:06:55.000000000 +0200
@@ -9,7 +9,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2020-07-08 02:18+0200\n"
-"PO-Revision-Date: 2020-09-23 12:20\n"
+"PO-Revision-Date: 2020-10-08 19:23\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-pa-5.20.0/po/zh_CN/plasma_applet_org.kde.plasma.volume.po 
new/plasma-pa-5.20.1/po/zh_CN/plasma_applet_org.kde.plasma.volume.po
--- old/plasma-pa-5.20.0/po/zh_CN/plasma_applet_org.kde.plasma.volume.po        
2020-10-08 18:23:53.000000000 +0200
+++ new/plasma-pa-5.20.1/po/zh_CN/plasma_applet_org.kde.plasma.volume.po        
2020-10-20 14:06:55.000000000 +0200
@@ -9,7 +9,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2020-07-20 02:17+0200\n"
-"PO-Revision-Date: 2020-09-23 12:20\n"
+"PO-Revision-Date: 2020-10-08 19:23\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/plasma-pa-5.20.0/src/kcm/package/contents/ui/DeviceComboBox.qml 
new/plasma-pa-5.20.1/src/kcm/package/contents/ui/DeviceComboBox.qml
--- old/plasma-pa-5.20.0/src/kcm/package/contents/ui/DeviceComboBox.qml 
2020-10-08 18:23:30.000000000 +0200
+++ new/plasma-pa-5.20.1/src/kcm/package/contents/ui/DeviceComboBox.qml 
2020-10-20 14:06:38.000000000 +0200
@@ -1,6 +1,7 @@
 /*
     Copyright 2014-2015 Harald Sitter <sit...@kde.org>
     Copyright 2016 David Rosca <now...@gmail.com>
+    Copyright 2020 David Redondo <k...@david-redondo.de>
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License as
@@ -19,47 +20,14 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-import QtQuick 2.0
-import QtQuick.Controls 2.0
+import QtQuick 2.14
+import QtQuick.Controls 2.14
 
 ComboBox {
-    onModelChanged: updateIndex()
-    onCountChanged: updateIndex()
+    textRole: "Description"
+    valueRole: "Index"
 
-    onActivated: {
-        if (index === -1) {
-            return;
-        }
-
-        DeviceIndex = modelIndexToDeviceIndex(index);
-    }
-
-    function updateIndex() {
-        currentIndex = deviceIndexToModelIndex(DeviceIndex);
-    }
-
-    function deviceIndexToModelIndex(deviceIndex) {
-        textRole = 'Index';
-        var searchString = '';
-        if (deviceIndex !== 0) {
-            searchString = '' + deviceIndex;
-        }
-        var modelIndex = find(searchString);
-        textRole = 'Description';
-        return modelIndex;
-    }
-
-    function modelIndexToDeviceIndex(modelIndex) {
-        textRole = 'Index';
-        var deviceIndex = Number(textAt(modelIndex));
-        textRole = 'Description';
-        return deviceIndex;
-    }
-
-    Connections {
-        target: PulseObject
-        onDeviceIndexChanged: updateIndex();
-    }
+    onActivated: DeviceIndex = currentValue
 
-    Component.onCompleted: updateIndex();
+    Component.onCompleted: currentIndex = indexOfValue(DeviceIndex)
 }



Reply via email to