diff options
| author | Darrell Anderson <humanreadable@yahoo.com> | 2012-08-09 13:00:30 -0500 |
|---|---|---|
| committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-08-09 13:00:30 -0500 |
| commit | 34ddcfd05b2b4772eeb70493726e0f8c8b40a3af (patch) | |
| tree | 8b1d100ee7f3ff0a997338b2e0424392121c09fa /src/styles/qmotifstyle.cpp | |
| parent | 785106b36c47923c338b6d3d61584eea448863ca (diff) | |
| parent | b6053b1b40b51e3d9b1b679a8a1751e5472e06e2 (diff) | |
| download | tqt-34ddcfd05b2b4772eeb70493726e0f8c8b40a3af.tar.gz tqt-34ddcfd05b2b4772eeb70493726e0f8c8b40a3af.zip | |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
Diffstat (limited to 'src/styles/qmotifstyle.cpp')
| -rw-r--r-- | src/styles/qmotifstyle.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/styles/qmotifstyle.cpp b/src/styles/qmotifstyle.cpp index 37a5a34cf..b404dc917 100644 --- a/src/styles/qmotifstyle.cpp +++ b/src/styles/qmotifstyle.cpp @@ -1907,11 +1907,12 @@ TQRect TQMotifStyle::subRect( SubRect r, TQStyleControlElementData ceData, Contr /*! \reimp */ -void TQMotifStyle::polishPopupMenu( TQPopupMenu* p) +void TQMotifStyle::polishPopupMenu( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *ptr ) { #ifndef QT_NO_POPUPMENU - if ( !p->testWState( WState_Polished ) ) - p->setCheckable( FALSE ); + if ( !(ceData.windowState & WState_Polished ) ) { + widgetActionRequest(ceData, elementFlags, ptr, WAR_SetCheckable); + } #endif } |
