Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ksanecore for openSUSE:Factory 
checked in at 2025-10-13 17:22:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksanecore (Old)
 and      /work/SRC/openSUSE:Factory/.ksanecore.new.18484 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksanecore"

Mon Oct 13 17:22:50 2025 rev:39 rq:1310211 version:25.08.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksanecore/ksanecore.changes      2025-09-11 
14:41:31.701347946 +0200
+++ /work/SRC/openSUSE:Factory/.ksanecore.new.18484/ksanecore.changes   
2025-10-13 17:25:07.009727040 +0200
@@ -1,0 +2,10 @@
+Tue Oct  7 18:49:24 UTC 2025 - Christophe Marin <[email protected]>
+
+- Update to 25.08.2
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/25.08.2/
+- Changes since 25.08.1:
+  * fix: do not crash when source or mode option do not exist
+
+-------------------------------------------------------------------

Old:
----
  ksanecore-25.08.1.tar.xz
  ksanecore-25.08.1.tar.xz.sig

New:
----
  ksanecore-25.08.2.tar.xz
  ksanecore-25.08.2.tar.xz.sig

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

Other differences:
------------------
++++++ ksanecore.spec ++++++
--- /var/tmp/diff_new_pack.t9YXj1/_old  2025-10-13 17:25:07.573750624 +0200
+++ /var/tmp/diff_new_pack.t9YXj1/_new  2025-10-13 17:25:07.577750792 +0200
@@ -21,7 +21,7 @@
 
 %bcond_without released
 Name:           ksanecore
-Version:        25.08.1
+Version:        25.08.2
 Release:        0
 Summary:        Qt interface for the SANE library for scanner hardware
 License:        LGPL-2.1-only OR LGPL-3.0-only


++++++ ksanecore-25.08.1.tar.xz -> ksanecore-25.08.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksanecore-25.08.1/CMakeLists.txt 
new/ksanecore-25.08.2/CMakeLists.txt
--- old/ksanecore-25.08.1/CMakeLists.txt        2025-09-04 00:08:44.000000000 
+0200
+++ new/ksanecore-25.08.2/CMakeLists.txt        2025-10-04 17:51:38.000000000 
+0200
@@ -7,7 +7,7 @@
 # KDE Applications version, managed by release script.
 set(RELEASE_SERVICE_VERSION_MAJOR "25")
 set(RELEASE_SERVICE_VERSION_MINOR "08")
-set(RELEASE_SERVICE_VERSION_MICRO "1")
+set(RELEASE_SERVICE_VERSION_MICRO "2")
 set(RELEASE_SERVICE_VERSION 
"${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
 
 project(KSaneCore VERSION ${RELEASE_SERVICE_VERSION})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksanecore-25.08.1/src/interface.cpp 
new/ksanecore-25.08.2/src/interface.cpp
--- old/ksanecore-25.08.1/src/interface.cpp     2025-09-04 00:08:44.000000000 
+0200
+++ new/ksanecore-25.08.2/src/interface.cpp     2025-10-04 17:51:38.000000000 
+0200
@@ -429,29 +429,31 @@
     Option *resolutionOption = getOption(ResolutionOption);
 
     // Priorize source option
-    auto it = optionMapCopy.find(sourceOption->name());
-    if (sourceOption != nullptr && it != optionMapCopy.end()) {
-        if (sourceOption->setValue(it.value())) {
+    if (sourceOption != nullptr) {
+        auto it = optionMapCopy.find(sourceOption->name());
+        if (it != optionMapCopy.end() && sourceOption->setValue(it.value())) {
             ret++;
+            optionMapCopy.erase(it);
         }
-        optionMapCopy.erase(it);
     }
 
     // Priorize mode option
-    it = optionMapCopy.find(modeOption->name());
-    if (modeOption != nullptr && it != optionMapCopy.end()) {
-        if (modeOption->setValue(it.value())) {
+    if (modeOption != nullptr) {
+        auto it = optionMapCopy.find(modeOption->name());
+        if (it != optionMapCopy.end() && modeOption->setValue(it.value())) {
             ret++;
+            optionMapCopy.erase(it);
         }
-        optionMapCopy.erase(it);
     }
 
     // Get iterator to resolution option, but do not apply value
-    it = optionMapCopy.find(resolutionOption->name());
     QString value;
-    if (resolutionOption != nullptr && it != optionMapCopy.end()) {
-        value = it.value();
-        optionMapCopy.erase(it);
+    if (resolutionOption != nullptr) {
+        auto it = optionMapCopy.find(resolutionOption->name());
+        if (it != optionMapCopy.end()) {
+            value = it.value();
+            optionMapCopy.erase(it);
+        }
     }
 
     // Update remaining options

Reply via email to