diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-24 18:32:54 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-24 18:32:54 +0100 |
commit | 979ccc6e7bb7c4f8d811555002dae999f661018d (patch) | |
tree | 46564c1838537498dba6a29b509d36391bc009cc /src/urlbar | |
parent | updated release howto ;) (diff) | |
download | rekonq-979ccc6e7bb7c4f8d811555002dae999f661018d.tar.xz |
cppcheck
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/urlresolver.h | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/src/urlbar/urlresolver.h b/src/urlbar/urlresolver.h index 167ee283..4608b103 100644 --- a/src/urlbar/urlresolver.h +++ b/src/urlbar/urlresolver.h @@ -68,22 +68,24 @@ public: int image_height; QString bookmarkPath; - UrlSearchItem(const UrlSearchItem &item) : type(item.type), - url(item.url), - title(item.title), - description(item.description), - image(item.image), - image_width(item.image_width), - image_height(item.image_height) + UrlSearchItem(const UrlSearchItem &item) + : type(item.type) + , url(item.url) + , title(item.title) + , description(item.description) + , image(item.image) + , image_width(item.image_width) + , image_height(item.image_height) {}; - UrlSearchItem() : type(UrlSearchItem::Undefined), - url(QString()), - title(QString()), - description(QString()), - image(QString()), - image_width(0), - image_height(0) + UrlSearchItem() + : type(UrlSearchItem::Undefined) + , url(QString()) + , title(QString()) + , description(QString()) + , image(QString()) + , image_width(0) + , image_height(0) {}; UrlSearchItem(const int &_type, @@ -94,13 +96,13 @@ public: const int &_image_width = 0, const int &_image_height = 0 ) - : type(_type), - url(_url), - title(_title), - description(_description), - image(_image), - image_width(_image_width), - image_height(_image_height) + : type(_type) + , url(_url) + , title(_title) + , description(_description) + , image(_image) + , image_width(_image_width) + , image_height(_image_height) {}; inline bool operator==(const UrlSearchItem &i) const |