Changed QWebPageHistory::goToItem to take a value instead of a pointer.
authorhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2007 14:32:16 +0000 (14:32 +0000)
committerhausmann <hausmann@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Nov 2007 14:32:16 +0000 (14:32 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27564 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/Api/qwebpagehistory.cpp
WebKit/qt/Api/qwebpagehistory.h
WebKit/qt/ChangeLog

index b7ffbe60267958968bfdceff10cf9f169f82b618..c6a2b2b8b0027ab04cf44d751539dc7085ebe8a9 100644 (file)
@@ -157,9 +157,9 @@ void QWebPageHistory::goForward()
     d->lst->goBack();
 }
 
-void QWebPageHistory::goToItem(QWebHistoryItem *item)
+void QWebPageHistory::goToItem(const QWebHistoryItem &item)
 {
-    d->lst->goToItem(item->d->item);
+    d->lst->goToItem(item.d->item);
 }
 
 QWebHistoryItem QWebPageHistory::backItem() const
index fcf92780c61209eaa50571285c5359e422cf3d34..ff96d96c52c2f5eece66e0ba5dc34776d929ee96 100644 (file)
@@ -130,7 +130,7 @@ public:
 
     void goBack();
     void goForward();
-    void goToItem(QWebHistoryItem *item);
+    void goToItem(const QWebHistoryItem &item);
 
     QWebHistoryItem backItem() const;
     QWebHistoryItem currentItem() const;
index b27e72feb3b9a7fa1f717a1ccb461b7a1afb23d7..c30fc92ddf9941942c82ebf58e19c96dc999a887 100644 (file)
@@ -1,3 +1,12 @@
+2007-11-07  Simon Hausmann  <hausmann@kde.org>
+
+        Reviewed by Lars.
+
+        Changed QWebPageHistory::goToItem to take a value instead of a pointer.
+
+        * Api/qwebpagehistory.cpp:
+        * Api/qwebpagehistory.h:
+
 2007-11-07  Simon Hausmann  <hausmann@kde.org>
 
         Reviewed by Lars.