2010-08-11 Antonio Gomes <tonikitoo@webkit.org>
authorAntonio Gomes <tonikitoo@webkit.org>
Wed, 11 Aug 2010 18:01:57 +0000 (18:01 +0000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Thu, 12 Aug 2010 11:42:20 +0000 (13:42 +0200)
commit2b177d4a8faf94f5ff4326cb12db242af1230253
tree6d8e46a73da6ee7361e1bef262abd0e4df6cc5b9
parentb8bfbbe471d19ae0bb96ec1cdc63b4f0f1e08a42
2010-08-11  Antonio Gomes  <tonikitoo@webkit.org>

        Reviewed by Ariya Hidayat.

        [Qt] QtTestBrowser: after switching between QWebView and QGraphicsWebView, rotation actions get broken
        https://bugs.webkit.org/show_bug.cgi?id=43853

        LauncherWindow::createChrome is connecting menu itens to WebViewGraphicsBased's slots directly.
        It behaviors badly when user launches the QtTestBrowser in QWebView mode, since then switching to
        QGraphicsWebView mode, createChrome is not called again, and menu items end up not getting connected
        to slots at all.

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::createChrome):
        (LauncherWindow::animatedFlip):
        (LauncherWindow::animatedYFlip):
        * QtTestBrowser/launcherwindow.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/QtTestBrowser/launcherwindow.cpp
WebKitTools/QtTestBrowser/launcherwindow.h