Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qqc2-breeze-style6 for 
openSUSE:Factory checked in at 2024-11-06 16:51:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qqc2-breeze-style6 (Old)
 and      /work/SRC/openSUSE:Factory/.qqc2-breeze-style6.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qqc2-breeze-style6"

Wed Nov  6 16:51:07 2024 rev:15 rq:1221576 version:6.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/qqc2-breeze-style6/qqc2-breeze-style6.changes    
2024-10-24 15:42:27.895395544 +0200
+++ 
/work/SRC/openSUSE:Factory/.qqc2-breeze-style6.new.2020/qqc2-breeze-style6.changes
  2024-11-06 16:52:35.837669207 +0100
@@ -1,0 +2,11 @@
+Tue Nov  5 13:30:46 UTC 2024 - Fabian Vogt <[email protected]>
+
+- Update to 6.2.3:
+  * New bugfix release
+  * For more details see https://kde.org/announcements/plasma/6/6.2.3
+- Changes since 6.2.2:
+  * update version for new release
+  * Fix calculation of width of DialogButtonBox
+  * Add missing dependencies on QtQuick.Window
+
+-------------------------------------------------------------------

Old:
----
  qqc2-breeze-style-6.2.2.tar.xz
  qqc2-breeze-style-6.2.2.tar.xz.sig

New:
----
  qqc2-breeze-style-6.2.3.tar.xz
  qqc2-breeze-style-6.2.3.tar.xz.sig

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

Other differences:
------------------
++++++ qqc2-breeze-style6.spec ++++++
--- /var/tmp/diff_new_pack.XR6Gd4/_old  2024-11-06 16:52:36.357690804 +0100
+++ /var/tmp/diff_new_pack.XR6Gd4/_new  2024-11-06 16:52:36.357690804 +0100
@@ -23,7 +23,7 @@
 
 %bcond_without released
 Name:           qqc2-breeze-style6
-Version:        6.2.2
+Version:        6.2.3
 Release:        0
 Summary:        Breeze Style for Qt Quick
 License:        LGPL-2.1-or-later


++++++ qqc2-breeze-style-6.2.2.tar.xz -> qqc2-breeze-style-6.2.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qqc2-breeze-style-6.2.2/CMakeLists.txt 
new/qqc2-breeze-style-6.2.3/CMakeLists.txt
--- old/qqc2-breeze-style-6.2.2/CMakeLists.txt  2024-10-22 14:59:09.000000000 
+0200
+++ new/qqc2-breeze-style-6.2.3/CMakeLists.txt  2024-11-05 13:38:38.000000000 
+0100
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.16)
 
 project(qqc2-breeze-style)
-set(PROJECT_VERSION "6.2.2")
+set(PROJECT_VERSION "6.2.3")
 
 set(QT_MIN_VERSION "6.7.0")
 set(KF6_MIN_VERSION "6.5.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qqc2-breeze-style-6.2.2/style/impl/CMakeLists.txt 
new/qqc2-breeze-style-6.2.3/style/impl/CMakeLists.txt
--- old/qqc2-breeze-style-6.2.2/style/impl/CMakeLists.txt       2024-10-22 
14:59:09.000000000 +0200
+++ new/qqc2-breeze-style-6.2.3/style/impl/CMakeLists.txt       2024-11-05 
13:38:38.000000000 +0100
@@ -2,6 +2,7 @@
     GENERATE_PLUGIN_SOURCE
     DEPENDENCIES
     "QtQuick.Controls"
+    "QtQuick.Window"
     "org.kde.kirigami"
 )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qqc2-breeze-style-6.2.2/style/qtquickcontrols/CMakeLists.txt 
new/qqc2-breeze-style-6.2.3/style/qtquickcontrols/CMakeLists.txt
--- old/qqc2-breeze-style-6.2.2/style/qtquickcontrols/CMakeLists.txt    
2024-10-22 14:59:09.000000000 +0200
+++ new/qqc2-breeze-style-6.2.3/style/qtquickcontrols/CMakeLists.txt    
2024-11-05 13:38:38.000000000 +0100
@@ -3,6 +3,7 @@
     DESIGNER_SUPPORTED
     DEPENDENCIES
     "QtQuick.Controls"
+    "QtQuick.Window"
     "org.kde.kirigami"
     "org.kde.quickcharts"
     "org.kde.breeze.impl"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qqc2-breeze-style-6.2.2/style/qtquickcontrols/DialogButtonBox.qml 
new/qqc2-breeze-style-6.2.3/style/qtquickcontrols/DialogButtonBox.qml
--- old/qqc2-breeze-style-6.2.2/style/qtquickcontrols/DialogButtonBox.qml       
2024-10-22 14:59:09.000000000 +0200
+++ new/qqc2-breeze-style-6.2.3/style/qtquickcontrols/DialogButtonBox.qml       
2024-11-05 13:38:38.000000000 +0100
@@ -19,9 +19,11 @@
     property bool __isInPopup: parent ? 
parent.toString().includes("QQuickPopupItem") : false
 
     implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
-                            contentWidth + leftPadding + rightPadding)
+                            implicitContentWidth + leftPadding + rightPadding)
     implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
-                             contentHeight + topPadding + bottomPadding)
+                             implicitContentHeight + topPadding + 
bottomPadding)
+
+    contentWidth: (contentItem as ListView)?.contentWidth ?? 0
 
     spacing: Kirigami.Units.smallSpacing
 
@@ -30,7 +32,13 @@
     alignment: Qt.AlignRight
 
     delegate: Button {
-        width: Math.round(Math.min(implicitWidth, (control.availableWidth / 
control.count) - (control.spacing * (control.count-1))))
+        // Round because fractional width values are possible.
+        width: Math.floor(Math.min(
+            implicitWidth,
+            // Divide availableWidth (width - leftPadding - rightPadding) by 
the number of buttons,
+            // then subtract the spacing between each button.
+            ((control.availableWidth - (control.spacing * (control.count - 
1))) / control.count)
+        ))
         Kirigami.MnemonicData.controlType: Kirigami.MnemonicData.DialogButton
     }
 

Reply via email to