don't check the view for regular applets; the problem only affect containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828205
This commit is contained in:
parent
f203f0ffff
commit
a404763830
@ -1132,7 +1132,7 @@ void Applet::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
||||
|
||||
void Applet::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
||||
{
|
||||
if (view() && !view()->transform().isScaling()) {
|
||||
if (!isContainment() || (view() && !view()->transform().isScaling())) {
|
||||
setFocus(Qt::MouseFocusReason);
|
||||
}
|
||||
QGraphicsWidget::mousePressEvent(event);
|
||||
|
Loading…
Reference in New Issue
Block a user