summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qwindowsstyle.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-26 15:55:16 +0100
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-27 12:52:38 +0100
commit11b1ced7cdc2af028164381d43c146ec79919f19 (patch)
treeabefca8174d2ab470775b4631cd45e8b21f58dfc /src/gui/styles/qwindowsstyle.cpp
parentbc49cbaab3356770eb4b27dcbc2e585bf21e9200 (diff)
Do not hardecode the ToolBar Icon Size
So we correctly get the size from the platform plugin Reviewed-by: jbache
Diffstat (limited to 'src/gui/styles/qwindowsstyle.cpp')
-rw-r--r--src/gui/styles/qwindowsstyle.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/styles/qwindowsstyle.cpp b/src/gui/styles/qwindowsstyle.cpp
index 0f72440fef..5cf738e536 100644
--- a/src/gui/styles/qwindowsstyle.cpp
+++ b/src/gui/styles/qwindowsstyle.cpp
@@ -454,9 +454,6 @@ int QWindowsStyle::pixelMetric(PixelMetric pm, const QStyleOption *opt, const QW
ret = proxy()->pixelMetric(PM_LargeIconSize, opt, widget);
break;
- case PM_ToolBarIconSize:
- ret = int(QStyleHelper::dpiScaled(24.));
- break;
case PM_DockWidgetTitleMargin:
ret = int(QStyleHelper::dpiScaled(2.));
break;