Changeset 23984 in webkit
- Timestamp:
- Jul 4, 2007 8:15:15 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r23983 r23984 1 2007-07-04 Qing Zhao <qing@staikos.net> 2 3 Reviewed by George Staikos. 4 5 Similar to the PlatformScrollbar fixes, adjust the painter to make the 6 styler draw all subcontrols, and in this case the focus rect, in the 7 proper location 8 9 * platform/qt/RenderThemeQt.cpp: 10 (WebCore::RenderThemeQt::paintMenuList): 11 1 12 2007-07-04 Mitz Pettel <mitz@webkit.org> 2 13 -
trunk/WebCore/platform/qt/RenderThemeQt.cpp
r23945 r23984 307 307 308 308 QStyleOptionComboBox opt; 309 EAppearance appearance = applyTheme(opt, o); 309 310 opt.initFrom(widget); 310 opt.rect = r; 311 const QPoint topLeft = r.topLeft(); 312 painter->translate(topLeft); 313 opt.rect.moveTo(QPoint(0,0)); 314 opt.rect.setSize(r.size()); 315 311 316 opt.frame = false; 312 317 313 318 style->drawComplexControl(QStyle::CC_ComboBox, &opt, painter, widget); 319 painter->translate(-topLeft); 314 320 return false; 315 321 }
Note: See TracChangeset
for help on using the changeset viewer.