diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-09-14 11:47:36 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-09-14 13:35:00 +0200 |
commit | 0b586586c21e59b3b434aea1990ba254a0217d1b (patch) | |
tree | b79d8227314be1e7c3c15ca131243330bd506027 /vcl/unx/kde4/KDESalFrame.cxx | |
parent | aaa59999755571532fe090245dcea99f57202b10 (diff) |
toolbar-decorations-vcl.diff: Improved toolbar popups.
Diffstat (limited to 'vcl/unx/kde4/KDESalFrame.cxx')
-rw-r--r-- | vcl/unx/kde4/KDESalFrame.cxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx index 0c8f04f9fe41..b3ff198785c1 100644 --- a/vcl/unx/kde4/KDESalFrame.cxx +++ b/vcl/unx/kde4/KDESalFrame.cxx @@ -288,12 +288,6 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) style.SetAppFont( aFont ); style.SetHelpFont( aFont ); - if( !bSetTitleFont ) - { - style.SetTitleFont( aFont ); - } - - style.SetFloatTitleFont( aFont ); style.SetMenuFont( aFont ); // will be changed according to pMenuBar //style.SetToolFont( aFont ); //already set above style.SetLabelFont( aFont ); @@ -304,6 +298,13 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) style.SetIconFont( aFont ); style.SetGroupFont( aFont ); + aFont.SetWeight( WEIGHT_BOLD ); + if( !bSetTitleFont ) + { + style.SetTitleFont( aFont ); + } + style.SetFloatTitleFont( aFont ); + int flash_time = QApplication::cursorFlashTime(); style.SetCursorBlinkTime( flash_time != 0 ? flash_time/2 : STYLE_CURSOR_NOBLINKTIME ); @@ -402,4 +403,4 @@ SalGraphics* KDESalFrame::GetGraphics() } return NULL; -}
\ No newline at end of file +} |