Changeset 106919 in webkit


Ignore:
Timestamp:
Feb 7, 2012 3:19:23 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Prevent early test termination with newer Qt 5
https://bugs.webkit.org/show_bug.cgi?id=77945

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-02-07
Reviewed by Csaba Osztrogonác.

QTBUG-24120 tracks a regression in Qt that would make layout tests
terminate early. This patch works around it in a Qt 4 + 5 safe manner
by disabling the quitOnLastWindowClosed feature, which we don't want/need
for DRT anyway.

  • DumpRenderTree/qt/main.cpp:

(main): Don't quit on last window closed.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r106895 r106919  
     12012-02-07  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        [Qt] Prevent early test termination with newer Qt 5
     4        https://bugs.webkit.org/show_bug.cgi?id=77945
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        QTBUG-24120 tracks a regression in Qt that would make layout tests
     9        terminate early. This patch works around it in a Qt 4 + 5 safe manner
     10        by disabling the quitOnLastWindowClosed feature, which we don't want/need
     11        for DRT anyway.
     12
     13        * DumpRenderTree/qt/main.cpp:
     14        (main): Don't quit on last window closed.
     15
    1162012-02-06  Martin Robinson  <mrobinson@igalia.com>
    217
  • trunk/Tools/DumpRenderTree/qt/main.cpp

    r105876 r106919  
    150150
    151151    QApplication app(argc, argv);
     152    app.setQuitOnLastWindowClosed(false);
    152153
    153154#if QT_VERSION <= QT_VERSION_CHECK(5, 0, 0) // FIXME: need a way to port this to Qt5.
Note: See TracChangeset for help on using the changeset viewer.