From b11ba445cccfa2cb9e5e6c09131d6e32c32392a6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 21 Nov 2014 21:58:18 -0600 Subject: Properly polish QPopupMenu widgets This relates to Bug 1489 --- src/kernel/qstyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel') diff --git a/src/kernel/qstyle.cpp b/src/kernel/qstyle.cpp index e0b39b6..9b8e7ff 100644 --- a/src/kernel/qstyle.cpp +++ b/src/kernel/qstyle.cpp @@ -783,7 +783,7 @@ void QStyle::polish( QPalette&) */ void QStyle::polishPopupMenu( QPopupMenu *pm ) { const QStyleControlElementData &ceData = populateControlElementDataFromWidget(pm, QStyleOption()); - unPolish(ceData, getControlElementFlagsForObject(pm, QStyleOption()), pm); + polish(ceData, getControlElementFlagsForObject(pm, QStyleOption()), pm); } /*! -- cgit v1.2.1