!14 Fix the right menu without frosted glass issue
From: @tanyulong2021 Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
2b5b3dcaaf
25
0002-Fix-the-right-menu-without-frosted-glass-issue.patch
Normal file
25
0002-Fix-the-right-menu-without-frosted-glass-issue.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 4fe3f75353853d7671e93bf036badf7935cccc1f Mon Sep 17 00:00:00 2001
|
||||
From: tanyulong <tanyulong@kylinos.cn>
|
||||
Date: Thu, 8 Jul 2021 17:48:05 +0800
|
||||
Subject: [PATCH] Fix the right menu without frosted glass issue
|
||||
|
||||
---
|
||||
ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp b/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||
index 2cd9612..e2714a2 100755
|
||||
--- a/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||
+++ b/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||
@@ -453,7 +453,7 @@ DeviceSwitchWidget::DeviceSwitchWidget(QWidget *parent) : QWidget (parent)
|
||||
*/
|
||||
void DeviceSwitchWidget::systemTrayMenuInit()
|
||||
{
|
||||
- menu = new QMenu();
|
||||
+ menu = new QMenu(this);
|
||||
qDebug() << "new menu";
|
||||
// menu->setAttribute(Qt::WA_DeleteOnClose);
|
||||
// menu->setAttribute();
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: ukui-media
|
||||
Version: 3.0.2
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: UKUI media utilities
|
||||
License: GPL-2+ GPL-3+ LGPL-2+ BSD-3-Clause
|
||||
URL: http://www.ukui.org
|
||||
@ -33,6 +33,7 @@ Requires: ukui-media-common = %{version}
|
||||
Recommends: alsa-utils sound-theme-freedesktop
|
||||
|
||||
patch0: 0001-fix-vol-icon-bug.patch
|
||||
patch1: 0002-Fix-the-right-menu-without-frosted-glass-issue.patch
|
||||
|
||||
%description
|
||||
A simple and lightweight screensaver written by Qt5.
|
||||
@ -51,6 +52,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
|
||||
@ -112,6 +114,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
%{_datadir}/glib-2.0/
|
||||
|
||||
%changelog
|
||||
* Thu Jul 8 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.2-3
|
||||
- Fix the right menu without frosted glass
|
||||
|
||||
* Mon Dec 7 2020 lvhan <lvhan@kylinos.cn> - 3.0.2-2
|
||||
- fix vol icon bug
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user