From kde-commits Fri Feb 18 17:13:14 2011 From: Lamarque Souza Date: Fri, 18 Feb 2011 17:13:14 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/kopete Message-Id: <20110218171314.3821EAC8BE () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129804928028451 SVN commit 1221521 by lvsouza: Show contact tooltips even when main window has not focus. This problem happens when using "click to focus" window policy. It does not happen when using "focus follow mouse" policy. Thanks Adria for the patch. BUG: 266559 M +1 -0 kopetewindow.cpp --- trunk/KDE/kdenetwork/kopete/kopete/kopetewindow.cpp #1221520:1221521 @@ -264,6 +264,7 @@ d->statusBarWidget = new KHBox ( statusBar() ); d->statusBarWidget->setMargin ( 2 ); d->statusBarWidget->setSpacing ( 1 ); + window()->setAttribute( Qt::WA_AlwaysShowToolTips ); statusBar()->addPermanentWidget ( d->statusBarWidget, 0 ); QWidget *statusBarMessage = new QWidget ( statusBar() ); QHBoxLayout *statusBarMessageLayout = new QHBoxLayout ( statusBarMessage );