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
This commit is contained in:
parent
1f4cc0d542
commit
b7e040b873
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue