diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-11-22 13:06:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-22 13:06:17 +0100 |
commit | 6344b00ea1d0ceed64212172f7f2b7c7a77cdabf (patch) | |
tree | 7d9bde5418960c50f75642a91ad689131d810f37 /vcl/unx/kde4/KDESalFrame.cxx | |
parent | d98e8a22a0acf6468614e99da7192894ca7f06d7 (diff) |
Adapt some GetUILocale leftovers
Change-Id: I0400858249d4722a3b5583febd82200e62a64b20
Diffstat (limited to 'vcl/unx/kde4/KDESalFrame.cxx')
-rw-r--r-- | vcl/unx/kde4/KDESalFrame.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx index 1242a3c2aaac..6f3fe53e1441 100644 --- a/vcl/unx/kde4/KDESalFrame.cxx +++ b/vcl/unx/kde4/KDESalFrame.cxx @@ -192,7 +192,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) pKey = "titleFont"; if ( aGroup.hasKey( pKey ) ) { - Font aFont = toFont( aGroup.readEntry( pKey, QFont() ), rSettings.GetUILocale() ); + Font aFont = toFont( aGroup.readEntry( pKey, QFont() ), rSettings.GetUILanguageTag().getLocale() ); style.SetTitleFont( aFont ); bSetTitleFont = true; } @@ -207,7 +207,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) pKey = "toolbarFont"; if ( aGroup.hasKey( pKey ) ) { - Font aFont = toFont( aGroup.readEntry( pKey, QFont() ), rSettings.GetUILocale() ); + Font aFont = toFont( aGroup.readEntry( pKey, QFont() ), rSettings.GetUILanguageTag().getLocale() ); style.SetToolFont( aFont ); } } @@ -263,7 +263,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) style.SetHelpTextColor( toColor( QToolTip::palette().color( QPalette::Active, QPalette::ToolTipText ))); // Font - Font aFont = toFont( kapp->font(), rSettings.GetUILocale() ); + Font aFont = toFont( kapp->font(), rSettings.GetUILanguageTag().getLocale() ); style.SetAppFont( aFont ); @@ -284,7 +284,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) } style.SetFloatTitleFont( aFont ); - style.SetHelpFont( toFont( QToolTip::font(), rSettings.GetUILocale())); + style.SetHelpFont( toFont( QToolTip::font(), rSettings.GetUILanguageTag().getLocale())); int flash_time = QApplication::cursorFlashTime(); style.SetCursorBlinkTime( flash_time != 0 ? flash_time/2 : STYLE_CURSOR_NOBLINKTIME ); @@ -320,7 +320,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) ImplGetSVData()->maNWFData.maMenuBarHighlightTextColor = aMenuFore; // Font - aFont = toFont( pMenuBar->font(), rSettings.GetUILocale() ); + aFont = toFont( pMenuBar->font(), rSettings.GetUILanguageTag().getLocale() ); style.SetMenuFont( aFont ); } |