Use the navigational web actions in the toolbar
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2007 14:29:42 +0000 (14:29 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2007 14:29:42 +0000 (14:29 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27537 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/ChangeLog
WebKit/qt/QtLauncher/main.cpp

index e8dd18d03a01ab220c3f035e81d90ad7f268899a..2aa214e3f3af2f46737939ee2c7a8224fa3aa081 100644 (file)
@@ -1,3 +1,12 @@
+2007-11-07  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Lars.
+
+        Use the navigational web actions in the toolbar
+
+        * QtLauncher/main.cpp:
+        (MainWindow::MainWindow):
+
 2007-11-07  Simon Hausmann  <hausmann@kde.org>
 
         Reviewed by Lars.
index 41dfba37b6aa6580a420b67c42e844203ffe15f6..baa7d85c45cc3075dd63a3f54fd8b1906048bca0 100644 (file)
@@ -300,9 +300,9 @@ public:
         urlEdit = new SearchEdit(url.toString());
         connect(urlEdit, SIGNAL(returnPressed()),
                 SLOT(changeLocation()));
-        bar->addAction("Go back", page, SLOT(goBack()));
-        bar->addAction("Stop", page, SLOT(stop()));
-        bar->addAction("Go forward", page, SLOT(goForward()));
+        bar->addAction(page->webAction(QWebPage::GoBack));
+        bar->addAction(page->webAction(QWebPage::Stop));
+        bar->addAction(page->webAction(QWebPage::GoForward));
         bar->addWidget(urlEdit);
 
         hoverLabel = new HoverLabel(this);