Kaydet (Commit) d2c46a61 authored tarafından Luboš Luňák's avatar Luboš Luňák

KDE does not hide disabled menu items

this reverts part of the previous commit
üst 129ac65d
...@@ -1970,7 +1970,6 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) ...@@ -1970,7 +1970,6 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
// Menu // Menu
aStyleSettings.SetSkipDisabledInMenus( sal_True ); aStyleSettings.SetSkipDisabledInMenus( sal_True );
aStyleSettings.SetHideDisabledMenuItems( sal_True );
KMenuBar *pMenuBar = qMainWindow.menuBar(); KMenuBar *pMenuBar = qMainWindow.menuBar();
if ( pMenuBar ) if ( pMenuBar )
{ {
......
...@@ -308,7 +308,6 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) ...@@ -308,7 +308,6 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
// Menu // Menu
style.SetSkipDisabledInMenus( TRUE ); style.SetSkipDisabledInMenus( TRUE );
style.SetHideDisabledMenuItems( sal_True );
KMenuBar* pMenuBar = new KMenuBar(); KMenuBar* pMenuBar = new KMenuBar();
if ( pMenuBar ) if ( pMenuBar )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment