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-04-03 01:02:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old) and /work/SRC/openSUSE:Factory/.QMPlay2.new.9019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "QMPlay2" Mon Apr 3 01:02:55 2023 rev:73 rq:1076771 version:23.02.05 Changes: -------- --- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes 2023-03-31 21:15:31.906387010 +0200 +++ /work/SRC/openSUSE:Factory/.QMPlay2.new.9019/QMPlay2.changes 2023-04-03 01:02:56.745711663 +0200 @@ -1,0 +2,6 @@ +Sun Apr 2 19:49:35 UTC 2023 - Simon Vogl <simon.v...@gmx.net> + +- Optimize 0001-fix-overlay-focus.patch to also fix focus for the + about window + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 0001-fix-overlay-focus.patch ++++++ --- /var/tmp/diff_new_pack.QbSJvQ/_old 2023-04-03 01:02:57.417715083 +0200 +++ /var/tmp/diff_new_pack.QbSJvQ/_new 2023-04-03 01:02:57.421715103 +0200 @@ -1,22 +1,38 @@ -From c2aabe13bcf6c9f67f8bce3496dfd0cffb4d794e Thu Mar 30 00:00:00 2001 +From c2aabe13bcf6c9f67f8bce3496dfd0cffb4d794e Sun Apr 2 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 +Date: Sun, 2 Apr 2023 21:38:47 +0200 Subject: [PATCH] Apply always on top to settings window + [PATCH] Apply always on top to about window Amends: c2aabe13bcf6c9f67f8bce3496dfd0cffb4d794e + 7abb97719928708e5aad850d6e5f7eff5dd5e5cd --- - src/gui/MainWidget.cpp | 3 +++ - src/gui/SettingsWidget.cpp | 1 - - 2 files changed, 3 insertions(+), 1 deletion(-) + src/gui/AboutWidget.cpp | 2 -- + src/gui/MainWidget.cpp | 6 ++++++ + src/gui/SettingsWidget.cpp | 2 -- + 3 files changed, 6 insertions(+), 4 deletions(-) +diff --git a/src/gui/AboutWidget.cpp b/src/gui/AboutWidget.cpp +index f684c0a8..63d52e23 100644 +--- a/src/gui/AboutWidget.cpp ++++ b/src/gui/AboutWidget.cpp +@@ -105,8 +105,6 @@ AboutWidget::AboutWidget() + connect(closeB, SIGNAL(clicked()), this, SLOT(close())); + connect(tabW, SIGNAL(currentChanged(int)), this, SLOT(currentTabChanged(int))); + connect(&logWatcher, SIGNAL(fileChanged(const QString &)), this, SLOT(refreshLog())); +- +- show(); + } + + void AboutWidget::showEvent(QShowEvent *) diff --git a/src/gui/MainWidget.cpp b/src/gui/MainWidget.cpp -index b61316b7..b5831cd9 100644 +index b61316b7..92fa8fa1 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); @@ -24,12 +40,22 @@ 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))); +@@ -1452,6 +1455,9 @@ void MainWidget::about() + if (!aboutW) + { + aboutW = new AboutWidget; ++ if (windowFlags() & Qt::WindowStaysOnTopHint) ++ aboutW->setWindowFlag(Qt::WindowStaysOnTopHint); ++ aboutW->show(); + connect(aboutW, SIGNAL(destroyed()), this, SLOT(about())); + } + else 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); -