Skip to content

Commit

Permalink
sync: from linuxdeepin/dtkwidget
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/dtkwidget.

Source-pull-request: linuxdeepin/dtkwidget#577
  • Loading branch information
deepin-ci-robot committed May 28, 2024
1 parent 009df2f commit e7b0ae5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/widgets/dabstractdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ void DAbstractDialogPrivate::init(bool blurIfPossible)
q->setAttribute(Qt::WA_TranslucentBackground, blurIfPossible);
} else if (noTitlebarEnabled()) {
handle = new DPlatformWindowHandle(q, q);

if (!handle->enableBlurWindow()) {
handle->setEnableBlurWindow(true);
}

// fix wayland no titlebar
//q->setWindowFlags(q->windowFlags() | Qt::FramelessWindowHint);
}
Expand Down

0 comments on commit e7b0ae5

Please sign in to comment.