2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Mar 2008 12:51:47 +0000 (12:51 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Mar 2008 12:51:47 +0000 (12:51 +0000)
        Reviewed by Simon.

        Added reload action and grouped stop and reload actions together.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30957 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

index a12e23a..ebd7cf9 100644 (file)
@@ -1,9 +1,17 @@
+2008-03-11  Tor Arne Vestbø  <tavestbo@trolltech.com>
+
+        Reviewed by Simon.
+
+        Added reload action and grouped stop and reload actions together.
+
+        * QtLauncher/main.cpp:
+        (MainWindow::MainWindow):
+
 2008-03-11  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
 
         Reviewed by Simon.
 
         * Set a Icon on the QAction if we have one.
-        
 
         * Api/qwebpage.cpp:
         (QWebPage::action):
index 7467c6b..eccd7e2 100644 (file)
@@ -314,6 +314,9 @@ public:
         bar->addAction(view->action(QWebPage::GoBack));
         bar->addAction(view->action(QWebPage::Stop));
         bar->addAction(view->action(QWebPage::GoForward));
+        QAction* reloadAction = view->pageAction(QWebPage::Reload);
+        reloadAction->setShortcut(QKeySequence::Refresh);
+        bar->addAction(reloadAction);
         bar->addSeparator();
         bar->addAction(view->action(QWebPage::Cut));
         bar->addAction(view->action(QWebPage::Copy));