Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package QMPlay2 for openSUSE:Factory checked 
in at 2023-03-31 21:15:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old)
 and      /work/SRC/openSUSE:Factory/.QMPlay2.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QMPlay2"

Fri Mar 31 21:15:31 2023 rev:72 rq:1075704 version:23.02.05

Changes:
--------
--- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes  2023-03-22 
22:32:41.738813227 +0100
+++ /work/SRC/openSUSE:Factory/.QMPlay2.new.31432/QMPlay2.changes       
2023-03-31 21:15:31.906387010 +0200
@@ -1,0 +2,6 @@
+Tue Mar 30 19:24:18 UTC 2023 - Simon Vogl <simon.v...@gmx.net>
+
+- Add 0001-fix-overlay-focus.patch to ensure the correct
+  QMPlay2 window is always focussed
+
+-------------------------------------------------------------------

New:
----
  0001-fix-overlay-focus.patch

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

Other differences:
------------------
++++++ QMPlay2.spec ++++++
--- /var/tmp/diff_new_pack.ZxjRWU/_old  2023-03-31 21:15:32.514389836 +0200
+++ /var/tmp/diff_new_pack.ZxjRWU/_new  2023-03-31 21:15:32.522389873 +0200
@@ -32,6 +32,8 @@
 Patch2:         0001-fix-mono-playback.patch
 # PATCH-FIX-UPSTREAM
 Patch3:         0001-fix-broken-yt-dlp.patch
+# PATCH-FIX-UPSTREAM
+Patch4:         0001-fix-overlay-focus.patch
 BuildRequires:  clang
 BuildRequires:  cmake >= 3.16
 BuildRequires:  llvm-gold

++++++ 0001-fix-overlay-focus.patch ++++++
>From c2aabe13bcf6c9f67f8bce3496dfd0cffb4d794e Thu Mar 30 00:00:00 2001
From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <spa...@wp.pl>
Date: Thu, 30 Mar 2023 21:24:18 +0200
Subject: [PATCH] Apply always on top to settings window

Amends: c2aabe13bcf6c9f67f8bce3496dfd0cffb4d794e

---
 src/gui/MainWidget.cpp     | 3 +++
 src/gui/SettingsWidget.cpp | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gui/MainWidget.cpp b/src/gui/MainWidget.cpp
index b61316b7..b5831cd9 100644
--- a/src/gui/MainWidget.cpp
+++ b/src/gui/MainWidget.cpp
@@ -1330,6 +1330,9 @@ void MainWidget::showSettings(const QString &moduleName)
             page = 0;
 
         settingsW = new SettingsWidget(page, moduleName, 
QMPlay2GUI.videoAdjustment);
+        if (windowFlags() & Qt::WindowStaysOnTopHint)
+            settingsW->setWindowFlag(Qt::WindowStaysOnTopHint);
+        settingsW->show();
         connect(settingsW, SIGNAL(settingsChanged(int, bool, bool)), &playC, 
SLOT(settingsChanged(int, bool, bool)));
         connect(settingsW, SIGNAL(setWheelStep(int)), seekS, 
SLOT(setWheelStep(int)));
         connect(settingsW, SIGNAL(setVolMax(int)), volW, 
SLOT(setMaximumVolume(int)));
diff --git a/src/gui/SettingsWidget.cpp b/src/gui/SettingsWidget.cpp
index cdbba84c..410a7969 100644
--- a/src/gui/SettingsWidget.cpp
+++ b/src/gui/SettingsWidget.cpp
@@ -711,8 +711,6 @@ SettingsWidget::SettingsWidget(int page, const QString 
&moduleName, QWidget *vid
 
     connect(tabW, SIGNAL(currentChanged(int)), this, SLOT(tabCh(int)));
     tabW->setCurrentIndex(page);
-
-    show();
 }
 SettingsWidget::~SettingsWidget()
 {

Reply via email to