show config menu when right click launcher item

Change-Id: I8cfc757e6508068c85d8bc49c3176a5409377023
This commit is contained in:
石博文 2016-09-20 14:55:23 +08:00
parent 6fd0caa02d
commit c0d787d424
Notes: Deepin Code Review 2016-09-20 15:17:21 +08:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Tue, 20 Sep 2016 15:17:21 +0800
Reviewed-on: https://cr.deepin.io/16194
Project: dde/dde-dock
Branch: refs/heads/master

View File

@ -53,7 +53,7 @@ void LauncherItem::resizeEvent(QResizeEvent *e)
void LauncherItem::mousePressEvent(QMouseEvent *e)
{
if (e->button() == Qt::RightButton && !perfectIconRect().contains(e->pos()))
if (e->button() == Qt::RightButton/* && !perfectIconRect().contains(e->pos())*/)
return QWidget::mousePressEvent(e);
if (e->button() != Qt::LeftButton)