raise the applet on clicking of the handle

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774339
This commit is contained in:
Aaron J. Seigo 2008-02-13 01:53:27 +00:00
parent 1637053a9b
commit 8472ef7233

View File

@ -267,6 +267,8 @@ void AppletHandle::mousePressEvent(QGraphicsSceneMouseEvent *event)
// so while we have a button pressed we intercept these events
// and handle them ourselves here in AppletHandle
m_applet->installSceneEventFilter(this);
m_applet->raise();
setZValue(m_applet->zValue());
}
event->accept();
update();