26 lines
967 B
Diff
26 lines
967 B
Diff
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
|
|
|