check the cast success: crash--
svn path=/trunk/KDE/kdelibs/; revision=1044329
This commit is contained in:
parent
52e5b9aca4
commit
06d2502d2a
@ -2170,9 +2170,11 @@ void ContainmentPrivate::containmentConstraintsEvent(Plasma::Constraints constra
|
||||
toolBox->setVisible(unlocked);
|
||||
} else {
|
||||
InternalToolBox *internalToolBox = qobject_cast<InternalToolBox *>(toolBox);
|
||||
if (internalToolBox) {
|
||||
internalToolBox->setIsMovable(unlocked);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//clear handles on lock
|
||||
if (!unlocked) {
|
||||
|
Loading…
Reference in New Issue
Block a user