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=268374icc-effect-5.14.5
parent
1f4cc0d542
commit
b7e040b873
|
@ -16,6 +16,7 @@ License. See the file "COPYING" for the exact licensing terms.
|
||||||
#include <kconfig.h>
|
#include <kconfig.h>
|
||||||
#include <kglobal.h>
|
#include <kglobal.h>
|
||||||
#include <kglobalsettings.h>
|
#include <kglobalsettings.h>
|
||||||
|
#include <qtooltip.h>
|
||||||
|
|
||||||
namespace KWinInternal
|
namespace KWinInternal
|
||||||
{
|
{
|
||||||
|
@ -153,6 +154,8 @@ unsigned long Options::updateSettings()
|
||||||
desktop_topmenu = kdesktopcfg.readBoolEntry( "ShowMenubar", false );
|
desktop_topmenu = kdesktopcfg.readBoolEntry( "ShowMenubar", false );
|
||||||
if( desktop_topmenu )
|
if( desktop_topmenu )
|
||||||
topmenus = true;
|
topmenus = true;
|
||||||
|
|
||||||
|
QToolTip::setGloballyEnabled( d->show_tooltips );
|
||||||
|
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue