block events in AppletOverlayWidget::mousePressEvent
svn path=/trunk/KDE/kdelibs/; revision=1160687
This commit is contained in:
parent
9f4a2e8ee5
commit
2735f78f51
@ -2851,6 +2851,11 @@ void AppletOverlayWidget::destroy()
|
||||
}
|
||||
}
|
||||
|
||||
void AppletOverlayWidget::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
||||
{
|
||||
event->accept();
|
||||
}
|
||||
|
||||
void AppletOverlayWidget::overlayAnimationComplete()
|
||||
{
|
||||
if (scene()) {
|
||||
|
@ -88,6 +88,7 @@ public:
|
||||
|
||||
protected:
|
||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
||||
void mousePressEvent(QGraphicsSceneMouseEvent *event);
|
||||
|
||||
protected Q_SLOTS:
|
||||
void overlayAnimationComplete();
|
||||
|
Loading…
x
Reference in New Issue
Block a user