Commit b88accad authored by diegohcg@webkit.org's avatar diegohcg@webkit.org

2010-07-09 Diego Gonzalez <diegohcg@webkit.org>

        Reviewed by Antonio Gomes.

        [Qt] [WebKit2] Add navigation actions to MiniBrowser toolbar
        https://bugs.webkit.org/show_bug.cgi?id=41966

        * MiniBrowser/qt/BrowserWindow.cpp:
        (BrowserWindow::BrowserWindow):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a67f42c4
2010-07-09 Diego Gonzalez <diegohcg@webkit.org>
Reviewed by Antonio Gomes.
[Qt] [WebKit2] Add navigation actions to MiniBrowser toolbar
https://bugs.webkit.org/show_bug.cgi?id=41966
* MiniBrowser/qt/BrowserWindow.cpp:
(BrowserWindow::BrowserWindow):
2010-07-09 Leon Clarke <leonclarke@google.com>
Reviewed by Adam Barth.
......
......@@ -86,6 +86,10 @@ BrowserWindow::BrowserWindow()
connect(m_addressBar, SIGNAL(returnPressed()), SLOT(changeLocation()));
QToolBar* bar = addToolBar("Navigation");
bar->addAction(m_browser->view()->page()->action(QWKPage::Back));
bar->addAction(m_browser->view()->page()->action(QWKPage::Forward));
bar->addAction(m_browser->view()->page()->action(QWKPage::Reload));
bar->addAction(m_browser->view()->page()->action(QWKPage::Stop));
bar->addWidget(m_addressBar);
this->setMenuBar(m_menu);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment