if m_toolBacker would be true this line would crash, thanks to Christoph Bartoschek for reporting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=764515
This commit is contained in:
parent
08812eeb00
commit
730266dc65
@ -212,7 +212,7 @@ void DesktopToolbox::showToolbox()
|
||||
void DesktopToolbox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
|
||||
{
|
||||
//kDebug() << event->pos() << event->scenePos() << m_toolBacker->rect().contains(event->scenePos().toPoint());
|
||||
if (!m_toolBacker && m_toolBacker->rect().contains(event->scenePos().toPoint())) {
|
||||
if (m_toolBacker && m_toolBacker->rect().contains(event->scenePos().toPoint())) {
|
||||
QGraphicsItem::hoverLeaveEvent(event);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user