Permalink
Browse files

[Qt] Make DRT results more reliable on X11

Reviewed by Jocelyn Turcotte.

Disable desktop setting awareness, to prevent QApplication on X11 from reading palette settings from
the running desktop environment.

* DumpRenderTree/qt/main.cpp:
(main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
1 parent 6056271 commit 968ea2faede8e2cd27d689b7b421e1122da936ec @tronical tronical committed Aug 16, 2012
Showing with 13 additions and 0 deletions.
  1. +12 −0 Tools/ChangeLog
  2. +1 −0 Tools/DumpRenderTree/qt/main.cpp
View
@@ -1,3 +1,15 @@
+2012-08-16 Simon Hausmann <simon.hausmann@nokia.com>
+
+ [Qt] Make DRT results more reliable on X11
+
+ Reviewed by Jocelyn Turcotte.
+
+ Disable desktop setting awareness, to prevent QApplication on X11 from reading palette settings from
+ the running desktop environment.
+
+ * DumpRenderTree/qt/main.cpp:
+ (main):
+
2012-08-16 Pierre Rossi <pierre.rossi@gmail.com>
[Qt] Remove FontQt4, HAVE_QRAWFONT flag and the related dead code
@@ -119,6 +119,7 @@ int main(int argc, char* argv[])
QApplication::setGraphicsSystem("raster");
QApplication::setStyle(new QWindowsStyle);
+ QApplication::setDesktopSettingsAware(false);
QApplication app(argc, argv);
app.setQuitOnLastWindowClosed(false);

0 comments on commit 968ea2f

Please sign in to comment.