mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: swing effect not allow mouse event
Change-Id: I20c8a65486f90a7bab112eac095d85b0dd355131
This commit is contained in:
parent
5706b61cf4
commit
61002cd350
Notes:
gerrit
2018-04-11 01:26:20 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 张丁元 <kirigaya@mkacg.com> Submitted-at: Wed, 11 Apr 2018 01:26:20 +0000 Reviewed-on: https://cr.deepin.io/33491 Project: dde/dde-dock Branch: refs/heads/master
@ -125,6 +125,8 @@ AppItem::AppItem(const QDBusObjectPath &entry, QWidget *parent)
|
||||
m_smallWatcher(new QFutureWatcher<QPixmap>(this)),
|
||||
m_largeWatcher(new QFutureWatcher<QPixmap>(this))
|
||||
{
|
||||
m_swingEffectView->setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||
|
||||
QHBoxLayout *centralLayout = new QHBoxLayout;
|
||||
centralLayout->addWidget(m_swingEffectView);
|
||||
centralLayout->setMargin(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user