diff options
author | Thorsten Behrens <tbehrens@novell.com> | 2010-11-25 00:25:02 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2010-11-25 00:25:02 +0100 |
commit | afd5ff21ce4e5859a92eef96157e3779c5b30853 (patch) | |
tree | 15056ea9168fa5ea1e02510550501f418f8c86d3 /vcl/unx/kde4/KDESalFrame.cxx | |
parent | 5973a9a6552d185671068c9d3a1abb1c7c792924 (diff) |
Make toolbar icon size native-widget controlled
This improves on the gui-toolbox-large-icons.diff, in that the
icon size is set to 'auto', and the native widget code decides which
size to pick. This was chiefly triggered by Mac user complaints, not
so much liking the large icons there.
Diffstat (limited to 'vcl/unx/kde4/KDESalFrame.cxx')
-rw-r--r-- | vcl/unx/kde4/KDESalFrame.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx index 7cdbb0e824a2..107a2a2757b8 100644 --- a/vcl/unx/kde4/KDESalFrame.cxx +++ b/vcl/unx/kde4/KDESalFrame.cxx @@ -185,6 +185,8 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) // General settings QPalette pal = kapp->palette(); + style.SetToolbarIconSize( STYLE_TOOLBAR_ICONSIZE_LARGE ); + style.SetActiveColor(toColor(pal.color(QPalette::Active, QPalette::Window))); style.SetDeactiveColor(toColor(pal.color(QPalette::Inactive, QPalette::Window))); |