SVN_SILENT: fix the style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756757
This commit is contained in:
Aaron J. Seigo 2008-01-03 18:20:35 +00:00
parent 1ce57b1d7b
commit 9aaedf4ddc

View File

@ -107,13 +107,15 @@ void ToolTip::slotShowToolTip()
{ {
QGraphicsView *v = d->currentWidget->view(); QGraphicsView *v = d->currentWidget->view();
if (v && v->mouseGrabber()) { if (v && v->mouseGrabber()) {
return; return;
} }
if( d->windowToPreview != 0 ) // show/hide the preview area if( d->windowToPreview != 0 ) {
// show/hide the preview area
d->preview->show(); d->preview->show();
else } else {
d->preview->hide(); d->preview->hide();
}
layout()->activate(); layout()->activate();
d->isShown = true; //ToolTip is visible d->isShown = true; //ToolTip is visible