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
icc-effect-5.14.5
Luboš Luňák 2003-11-20 13:01:09 +00:00
parent 1f4cc0d542
commit b7e040b873
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include <kconfig.h>
#include <kglobal.h>
#include <kglobalsettings.h>
#include <qtooltip.h>
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;
}