From e3be2e2e3e8e4f27e8d69ae934e07a644166db00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?x=E6=99=82=E5=85=89=E5=A4=AA=E7=98=A6?= Date: Wed, 11 Sep 2024 07:16:18 +0000 Subject: [PATCH] fix: clipboard background transparent (#172) fix showevent Log: clipboard background transparent But: https://pms.uniontech.com/bug-view-271347.html --- dde-clipboard/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dde-clipboard/mainwindow.cpp b/dde-clipboard/mainwindow.cpp index 9537d9d..994ab2c 100644 --- a/dde-clipboard/mainwindow.cpp +++ b/dde-clipboard/mainwindow.cpp @@ -429,11 +429,11 @@ void MainWindow::paintEvent(QPaintEvent *e) void MainWindow::showEvent(QShowEvent *event) { Q_EMIT clipboardVisibleChanged(true); - QWidget::showEvent(event); + DBlurEffectWidget::showEvent(event); } void MainWindow::hideEvent(QHideEvent *event) { Q_EMIT clipboardVisibleChanged(false); - QWidget::hideEvent(event); + DBlurEffectWidget::hideEvent(event); } \ No newline at end of file