From b7e040b8731387b8f0d0a4cf6a68d7f5e5f5398d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 20 Nov 2003 13:01:09 +0000 Subject: [PATCH] Fix #67683 by globally enabling/disabling tooltips. As the buttons are the only thing in kwin that has tooltips, this is fine. CCMAIL: 67683-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=268374 --- options.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/options.cpp b/options.cpp index a74560fcc3..08f3f3800f 100644 --- a/options.cpp +++ b/options.cpp @@ -16,6 +16,7 @@ License. See the file "COPYING" for the exact licensing terms. #include #include #include +#include namespace KWinInternal { @@ -153,6 +154,8 @@ unsigned long Options::updateSettings() desktop_topmenu = kdesktopcfg.readBoolEntry( "ShowMenubar", false ); if( desktop_topmenu ) topmenus = true; + + QToolTip::setGloballyEnabled( d->show_tooltips ); return changed; }