From 9aaedf4ddc9492c732d23d80590f72b916178ca5 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Thu, 3 Jan 2008 18:20:35 +0000 Subject: [PATCH] SVN_SILENT: fix the style. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756757 --- widgets/tooltip.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/widgets/tooltip.cpp b/widgets/tooltip.cpp index f7f9acd86..fc4c8d7a0 100644 --- a/widgets/tooltip.cpp +++ b/widgets/tooltip.cpp @@ -107,13 +107,15 @@ void ToolTip::slotShowToolTip() { QGraphicsView *v = d->currentWidget->view(); 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(); - else + } else { d->preview->hide(); + } layout()->activate(); d->isShown = true; //ToolTip is visible