Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package QMPlay2 for openSUSE:Factory checked 
in at 2024-12-26 12:23:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old)
 and      /work/SRC/openSUSE:Factory/.QMPlay2.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QMPlay2"

Thu Dec 26 12:23:44 2024 rev:88 rq:1233263 version:24.12.23

Changes:
--------
--- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes  2024-12-24 
16:26:49.438775602 +0100
+++ /work/SRC/openSUSE:Factory/.QMPlay2.new.1881/QMPlay2.changes        
2024-12-26 12:23:48.922323299 +0100
@@ -1,0 +2,5 @@
+Tue Dec 24 15:37:18 UTC 2024 - Simon Vogl <simon.v...@gmx.net>
+
+- Add 0001-fix-zoom-reset-crash.patch to fix a crash on zoom reset
+
+-------------------------------------------------------------------

New:
----
  0001-fix-zoom-reset-crash.patch

BETA DEBUG BEGIN:
  New:
- Add 0001-fix-zoom-reset-crash.patch to fix a crash on zoom reset
BETA DEBUG END:

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

Other differences:
------------------
++++++ QMPlay2.spec ++++++
--- /var/tmp/diff_new_pack.gbNHXn/_old  2024-12-26 12:23:49.678354276 +0100
+++ /var/tmp/diff_new_pack.gbNHXn/_new  2024-12-26 12:23:49.678354276 +0100
@@ -32,6 +32,8 @@
 Source:         %{name}-%{version}.%{_mtime}.%{_commit}.tar.gz
 # PATCH-FEATURE-OPENSUSE 0001-add-opensuse-customizations.patch -- Fix python 
executable detection and add branding
 Patch1:         0001-add-opensuse-customizations.patch
+# PATCH-FIX-UPSTREAM 0001-fix-zoom-reset-crash.patch -- Fix zoom reset crash
+Patch2:         0001-fix-zoom-reset-crash.patch
 BuildRequires:  clang
 BuildRequires:  cmake >= 3.16
 BuildRequires:  llvm-gold
@@ -110,6 +112,7 @@
 %autosetup -p1 -n %{name}-%{version}.%{_mtime}.%{_commit}
 # %setup -q -n %{name}-%{version}.%{_mtime}.%{_commit}
 # %patch1 -p1
+# %patch2 -p1
 
 %build
 # Build options

++++++ 0001-fix-zoom-reset-crash.patch ++++++
>From 04e1c2ed09e6edb47c9c0951eceb9055d410f504 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <mumei6...@gmail.com>
Date: Tue, 24 Dec 2024 10:41:10 +0100
Subject: [PATCH] Fix crash in "zoomReset()"

---
 src/gui/PlayClass.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gui/PlayClass.cpp b/src/gui/PlayClass.cpp
index 9286e2e95..8bb326cdc 100644
--- a/src/gui/PlayClass.cpp
+++ b/src/gui/PlayClass.cpp
@@ -952,7 +952,8 @@ void PlayClass::zoomReset()
     if (zoom != 1.0)
     {
         zoom = 1.0;
-        applyZoom(true);
+        if (vThr)
+            applyZoom(true);
     }
 }
 void PlayClass::otherReset()

Reply via email to