[Libreoffice-commits] .: vcl/unx
Lubos Lunak
llunak at kemper.freedesktop.org
Thu Apr 28 04:15:57 PDT 2011
vcl/unx/kde/salnativewidgets-kde.cxx | 1 -
vcl/unx/kde4/KDESalFrame.cxx | 1 -
2 files changed, 2 deletions(-)
New commits:
commit 987784e1d88a8bd2df114cb7db3c55c5b886646f
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Thu Apr 28 13:15:20 2011 +0200
KDE does not hide disabled menu items
this reverts part of the previous commit
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 5707586..d0fa4a0 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -1970,7 +1970,6 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
// Menu
aStyleSettings.SetSkipDisabledInMenus( sal_True );
- aStyleSettings.SetHideDisabledMenuItems( sal_True );
KMenuBar *pMenuBar = qMainWindow.menuBar();
if ( pMenuBar )
{
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx
index 68f9e5c..8ed5078 100644
--- a/vcl/unx/kde4/KDESalFrame.cxx
+++ b/vcl/unx/kde4/KDESalFrame.cxx
@@ -308,7 +308,6 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
// Menu
style.SetSkipDisabledInMenus( TRUE );
- style.SetHideDisabledMenuItems( sal_True );
KMenuBar* pMenuBar = new KMenuBar();
if ( pMenuBar )
{
More information about the Libreoffice-commits
mailing list