Skip to content

Commit

Permalink
fix: clipboard background transparent (#172)
Browse files Browse the repository at this point in the history
fix showevent

Log: clipboard background transparent
But: https://pms.uniontech.com/bug-view-271347.html
  • Loading branch information
xionglinlin authored Sep 11, 2024
1 parent d096dd6 commit e3be2e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dde-clipboard/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit e3be2e2

Please sign in to comment.