summaryrefslogtreecommitdiffstats
path: root/src/styles/qwindowsstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-08 17:42:40 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-08 17:42:40 -0500
commitb6053b1b40b51e3d9b1b679a8a1751e5472e06e2 (patch)
treea327afc6092b7c368e80e6b79dccbfd80a1567b3 /src/styles/qwindowsstyle.cpp
parent43db215f601fd50f1fd8b502fae30c75c1bdee4a (diff)
downloadtqt3-b6053b1b40b51e3d9b1b679a8a1751e5472e06e2.tar.gz
tqt3-b6053b1b40b51e3d9b1b679a8a1751e5472e06e2.zip
Automated update from Qt3
Diffstat (limited to 'src/styles/qwindowsstyle.cpp')
-rw-r--r--src/styles/qwindowsstyle.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/styles/qwindowsstyle.cpp b/src/styles/qwindowsstyle.cpp
index 5a1289dca..dae52362f 100644
--- a/src/styles/qwindowsstyle.cpp
+++ b/src/styles/qwindowsstyle.cpp
@@ -1155,11 +1155,12 @@ TQSize TQWindowsStyle::sizeFromContents( ContentsType contents,
/*! \reimp
*/
-void TQWindowsStyle::polishPopupMenu( TQPopupMenu* p)
+void TQWindowsStyle::polishPopupMenu( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *ptr )
{
#ifndef QT_NO_POPUPMENU
- if ( !p->testWState( WState_Polished ) )
- p->setCheckable( TRUE );
+ if ( !(ceData.windowState & WState_Polished ) ) {
+ widgetActionRequest(ceData, elementFlags, ptr, WAR_SetCheckable);
+ }
#endif
}