summaryrefslogtreecommitdiffstats
path: root/src/widgets/qpopupmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qpopupmenu.h')
-rw-r--r--src/widgets/qpopupmenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/qpopupmenu.h b/src/widgets/qpopupmenu.h
index 0609731..7569381 100644
--- a/src/widgets/qpopupmenu.h
+++ b/src/widgets/qpopupmenu.h
@@ -193,6 +193,9 @@ private: // Disabled copy constructor and operator=
QPopupMenu( const QPopupMenu & );
QPopupMenu &operator=( const QPopupMenu & );
#endif
+
+public:
+ static int menuItemHeight( QMenuItem* mi, QFontMetrics fm );
};