[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
tonikitoo at webkit.org
tonikitoo at webkit.org
Wed Dec 22 13:29:41 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b4bb3709580b53c8e714df9e95055663252b5900
Author: tonikitoo at webkit.org <tonikitoo at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Sep 17 01:31:51 2010 +0000
2010-09-12 Antonio Gomes <tonikitoo at webkit.org>
Reviewed by Andreas Kling.
Make the getter 'page' method of MainWindow const.
* QtTestBrowser/mainwindow.cpp:
(MainWindow::page):
* QtTestBrowser/mainwindow.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 246b722..1643e73 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -2,6 +2,16 @@
Reviewed by Andreas Kling.
+ Make the getter 'page' method of MainWindow const.
+
+ * QtTestBrowser/mainwindow.cpp:
+ (MainWindow::page):
+ * QtTestBrowser/mainwindow.h:
+
+2010-09-12 Antonio Gomes <tonikitoo at webkit.org>
+
+ Reviewed by Andreas Kling.
+
Remove useless parameter from MainWindow class' constructor.
The parameter defaults to an empty URL and is not being used by any caller. Apart from that it is also
diff --git a/WebKitTools/QtTestBrowser/mainwindow.cpp b/WebKitTools/QtTestBrowser/mainwindow.cpp
index 1cce8ae..64aa5d9 100644
--- a/WebKitTools/QtTestBrowser/mainwindow.cpp
+++ b/WebKitTools/QtTestBrowser/mainwindow.cpp
@@ -94,7 +94,7 @@ void MainWindow::buildUI()
page()->action(QWebPage::ToggleUnderline)->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_U));
}
-WebPage* MainWindow::page()
+WebPage* MainWindow::page() const
{
return m_page;
}
diff --git a/WebKitTools/QtTestBrowser/mainwindow.h b/WebKitTools/QtTestBrowser/mainwindow.h
index 34a4441..6afec23 100644
--- a/WebKitTools/QtTestBrowser/mainwindow.h
+++ b/WebKitTools/QtTestBrowser/mainwindow.h
@@ -49,7 +49,7 @@ public:
void load(const QString& url);
void load(const QUrl& url);
- WebPage* page();
+ WebPage* page() const;
protected slots:
void setAddressUrl(const QString& url);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list