summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-09-18 20:49:41 +0200
committerRichard Moe Gustavsen <richard.gustavsen@digia.com>2014-09-20 18:23:35 +0200
commitb53f6fdd313f71f05b99093966736a8f7442ded8 (patch)
tree3c71f6f7b3b516595dac3ba20a9fb3b54ae676c2 /src/gui/kernel
parent4d8dd7f673d874607eb23c0dc36bb7c24324aa4f (diff)
Respect the PM_SmallIconSize setting for icons in a menu on OS X
When a platform menu is used then it would hard code the icon size to 16x16. Instead of using the hard coded value then PM_SmallIconSize should be used instead. Change-Id: I27540ebc4397501e8f57686a118c28cd7167c0a1 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qplatformmenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformmenu.h b/src/gui/kernel/qplatformmenu.h
index 39184826df..5731b4f56a 100644
--- a/src/gui/kernel/qplatformmenu.h
+++ b/src/gui/kernel/qplatformmenu.h
@@ -86,7 +86,7 @@ public:
virtual void setChecked(bool isChecked) = 0;
virtual void setShortcut(const QKeySequence& shortcut) = 0;
virtual void setEnabled(bool enabled) = 0;
-
+ virtual void setIconSize(int size) = 0;
virtual void setNativeContents(WId item) { Q_UNUSED(item); }
Q_SIGNALS: