- Better safe than sorry

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754964
This commit is contained in:
Richard J. Moore 2007-12-31 00:38:04 +00:00
parent eb86939c77
commit 48a812947b

View File

@ -96,7 +96,7 @@ Plasma::Widget *ToolTip::currentWidget() const
//PRIVATE FUNCTIONS
void ToolTip::slotShowToolTip()
{
if ( d->currentWidget->view()->mouseGrabber() )
if ( d->currentWidget->view() && d->currentWidget->view()->mouseGrabber() )
return;
d->isShown = true; //ToolTip is visible