Changeset 74137 in webkit
- Timestamp:
- Dec 15, 2010 1:00:00 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r74132 r74137 1 2010-12-15 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Antonio Gomes. 4 5 [Qt] screenIsMonochrome() is broken 6 https://bugs.webkit.org/show_bug.cgi?id=49957 7 8 * platform/qt/PlatformScreenQt.cpp: 9 (WebCore::screenIsMonochrome): 10 1 11 2010-12-15 Martin Robinson <mrobinson@igalia.com> 2 12 -
trunk/WebCore/platform/qt/PlatformScreenQt.cpp
r71483 r74137 87 87 bool screenIsMonochrome(Widget* w) 88 88 { 89 return QApplication::desktop()->screen(screenNumber(w))-> numColors() <2;89 return QApplication::desktop()->screen(screenNumber(w))->colorCount() == 2; 90 90 } 91 91
Note: See TracChangeset
for help on using the changeset viewer.