Changeset 8 for trunk/src/styles/qcompactstyle.cpp
- Timestamp:
- Nov 16, 2005, 8:36:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/styles/qcompactstyle.cpp
r7 r8 152 152 const QPopupMenu *popupmenu = (const QPopupMenu *) widget; 153 153 QMenuItem *mi = opt.menuItem(); 154 155 // QPopupMenu has WResizeNoErase and WRepaintNoErase flags, so we 156 // must erase areas not covered by menu items (this is requested by 157 // QPopupMenu using 0 as the menu item argument). 158 // [Win32 version feels ok without this, because it doesn't actually 159 // fully obey WResizeNoErase and WRepaintNoErase: WM_ERASEBKGND always 160 // erases the background before WM_PAINT and after every resize]. 161 #if !defined (Q_WS_PM) 154 162 if ( !mi ) 155 163 break; 164 #endif 156 165 157 166 int tab = opt.tabWidth();
Note:
See TracChangeset
for help on using the changeset viewer.