Changeset 87514 in webkit


Ignore:
Timestamp:
May 27, 2011 8:34:17 AM (13 years ago)
Author:
alexis.menard@openbossa.org
Message:

2011-05-27 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Csaba Osztrogonác.

[Qt] Fix tst_QGraphicsWebView::setPalette(inactiveBG) autotest
https://bugs.webkit.org/show_bug.cgi?id=61044

Make sure to set the active window on the application too.

  • tests/qgraphicswebview/tst_qgraphicswebview.cpp: (tst_QGraphicsWebView::setPalette):
Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r87405 r87514  
     12011-05-27  Alexis Menard  <alexis.menard@openbossa.org>
     2
     3        Reviewed by Csaba Osztrogonác.
     4
     5        [Qt] Fix tst_QGraphicsWebView::setPalette(inactiveBG) autotest
     6        https://bugs.webkit.org/show_bug.cgi?id=61044
     7
     8        Make sure to set the active window on the application too.
     9
     10        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
     11        (tst_QGraphicsWebView::setPalette):
     12
    1132011-05-26  Alexis Menard  <alexis.menard@openbossa.org>
    214
  • trunk/Source/WebKit/qt/tests/qgraphicswebview/tst_qgraphicswebview.cpp

    r84334 r87514  
    388388        controlView.show();
    389389        QTest::qWaitForWindowShown(&controlView);
     390        QApplication::setActiveWindow(&controlView);
    390391        activeView = &controlView;
    391392        controlView.activateWindow();
    392393    } else {
     394        QApplication::setActiveWindow(&view1);
    393395        view1.activateWindow();
    394396        activeView = &view1;
     
    441443        controlView.show();
    442444        QTest::qWaitForWindowShown(&controlView);
     445        QApplication::setActiveWindow(&controlView);
    443446        activeView = &controlView;
    444447        controlView.activateWindow();
    445448    } else {
     449        QApplication::setActiveWindow(&view2);
    446450        view2.activateWindow();
    447451        activeView = &view2;
Note: See TracChangeset for help on using the changeset viewer.