Changeset 95541 in webkit
- Timestamp:
- Sep 20, 2011, 7:22:58 AM (14 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r95532 r95541 1 2011-09-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 3 [Qt] Don't override default QApplication font for DRT and WTR 4 5 Revision 95526 moved the relevant code below the QApplication 6 constructor, to fix a potential crash, and that made the code 7 take effect, breaking 6 tests. 8 9 We should rely on the QWebSettings to set default fonts, and 10 this QApplication::setFont() is a relic from when we didn't 11 have that option, so we remove the code. 12 13 Reviewed by Csaba Osztrogonác. 14 15 * DumpRenderTree/qt/main.cpp: 16 * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp: 17 1 18 2011-09-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 19 -
trunk/Tools/DumpRenderTree/qt/main.cpp
r95526 r95541 147 147 QApplication app(argc, argv); 148 148 149 QFont f("Sans Serif");150 f.setPointSize(9);151 f.setWeight(QFont::Normal);152 f.setStyle(QFont::StyleNormal);153 QApplication::setFont(f);154 155 149 #ifdef Q_WS_X11 156 150 QX11Info::setAppDpiY(0, 96); -
trunk/Tools/WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp
r89241 r95541 91 91 QApplication::setStyle(new QWindowsStyle); 92 92 93 QFont f(QLatin1String("Sans Serif"));94 f.setPointSize(9);95 f.setWeight(QFont::Normal);96 f.setStyle(QFont::StyleNormal);97 QApplication::setFont(f);98 99 93 #if defined(Q_WS_X11) 100 94 QX11Info::setAppDpiX(0, 96);
Note:
See TracChangeset
for help on using the changeset viewer.