summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-02 10:49:00 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-02 10:49:00 +0200
commit7feb86eb8a3210da771c584ff67fa6dc5e6eaf47 (patch)
tree5991c75b06b14c7a653c23de365a6bfd6d25c122 /src/urlbar/listitem.cpp
parentMerge commit 'refs/merge-requests/195' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-7feb86eb8a3210da771c584ff67fa6dc5e6eaf47.tar.xz
trivials:
paren --> parent parameters passing: from value to const reference
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r--src/urlbar/listitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index 75b47949..0df080ae 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -286,14 +286,14 @@ PreviewLabel::PreviewLabel(const QString &url, int width, int height, QWidget *p
// ---------------------------------------------------------------
-SearchListItem::SearchListItem(const UrlSearchItem &item, const QString &text, QWidget *paren)
- : ListItem(item, paren)
+SearchListItem::SearchListItem(const UrlSearchItem &item, const QString &text, QWidget *parent)
+ : ListItem(item, parent)
, m_text(text)
{
m_iconLabel = new IconLabel(SearchEngine::buildQuery(UrlResolver::searchEngine(), ""), this);
QString query = SearchEngine::extractQuery(text);
m_titleLabel = new TextLabel(searchItemTitle(item.title, query), query, this);
- m_engineBar = new EngineBar(UrlResolver::searchEngine(), paren);
+ m_engineBar = new EngineBar(UrlResolver::searchEngine(), parent);
QHBoxLayout *hLayout = new QHBoxLayout;
hLayout->setSpacing(4);