diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-12-22 18:08:49 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-02 23:49:30 +0200 |
commit | 8479e14b9d8a5478dc69100fab9f4aefa7604271 (patch) | |
tree | 6698dae996b6755d094098df63f903d647482ba2 | |
parent | 252bbcca056001eb48fb967bb150846124710ca6 (diff) | |
download | qtwebkit-8479e14b9d8a5478dc69100fab9f4aefa7604271.tar.gz |
Fix warnings found by the headerclean test
Extra semi-colons at the end of lines, arguments shadowing members, etc.
Change-Id: I8163ed42da31b6a5bb37a56d8cf4c7b2e32139d3
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
-rw-r--r-- | Source/WebKit/qt/Api/qwebelement.h | 6 | ||||
-rw-r--r-- | Source/WebKit/qt/Api/qwebkitplatformplugin.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit/qt/Api/qwebelement.h b/Source/WebKit/qt/Api/qwebelement.h index e907a69a1..92d388dfa 100644 --- a/Source/WebKit/qt/Api/qwebelement.h +++ b/Source/WebKit/qt/Api/qwebelement.h @@ -135,7 +135,7 @@ public: enum StyleResolveStrategy { InlineStyle, CascadedStyle, - ComputedStyle, + ComputedStyle }; QString styleProperty(const QString& name, StyleResolveStrategy strategy) const; void setStyleProperty(const QString& name, const QString& value); @@ -192,7 +192,7 @@ public: class const_iterator { public: - inline const_iterator(const QWebElementCollection* collection, int index) : i(index), collection(collection) {} + inline const_iterator(const QWebElementCollection* collection_, int index) : i(index), collection(collection_) {} inline const_iterator(const const_iterator& o) : i(o.i), collection(o.collection) {} inline const QWebElement operator*() const { return collection->at(i); } @@ -226,7 +226,7 @@ public: class iterator { public: - inline iterator(const QWebElementCollection* collection, int index) : i(index), collection(collection) {} + inline iterator(const QWebElementCollection* collection_, int index) : i(index), collection(collection_) {} inline iterator(const iterator& o) : i(o.i), collection(o.collection) {} inline QWebElement operator*() const { return collection->at(i); } diff --git a/Source/WebKit/qt/Api/qwebkitplatformplugin.h b/Source/WebKit/qt/Api/qwebkitplatformplugin.h index c987069bd..10cc0fd7d 100644 --- a/Source/WebKit/qt/Api/qwebkitplatformplugin.h +++ b/Source/WebKit/qt/Api/qwebkitplatformplugin.h @@ -181,7 +181,7 @@ public: }; QT_BEGIN_NAMESPACE -Q_DECLARE_INTERFACE(QWebKitPlatformPlugin, "org.qt-project.Qt.WebKit.PlatformPlugin/1.9"); +Q_DECLARE_INTERFACE(QWebKitPlatformPlugin, "org.qt-project.Qt.WebKit.PlatformPlugin/1.9") QT_END_NAMESPACE #endif // QWEBKITPLATFORMPLUGIN_H |