2010-08-04 Antonio Gomes <tonikitoo@webkit.org>
authortonikitoo@webkit.org <tonikitoo@webkit.org>
Thu, 5 Aug 2010 00:13:34 +0000 (00:13 +0000)
committerAntonio Gomes <tonikitoo@webkit.org>
Tue, 10 Aug 2010 13:51:33 +0000 (09:51 -0400)
commit437b1c7fc1c1d7c738e5799bb3fad384485008cc
tree38c0d1d21900a7ad6ec951ecb80950c2cb2ebc38
parent37a76591b901f85fd53caacb7a7aa92df79213ee
2010-08-04  Antonio Gomes  <tonikitoo@webkit.org>

        Reviewed by Kenneth Christiansen.

        [Qt] [QtTestBrowser] Remove unneeded QAction class members
        https://bugs.webkit.org/show_bug.cgi?id=43518

        LauncherWindow class has two totally unneeded class members: m_flopAnimated and
        m_flipYAnimated. Also, in initializeView method there are some dead code block
        trying to connect them at the wrong time, when they have not been instanciated.

        This patch:

        - removes the two cited class members in favor of local variables in createChrome method;
        - removes the dead code block.

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

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