From da8675af551d2e8bab82f638007a966c1c9bb8e2 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 30 Apr 2010 00:39:05 +0200 Subject: Fixed wrong pointed out text in the Browse ListItem --- src/urlbar/listitem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/urlbar/listitem.cpp') diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index 07b7c99f..d69bdd03 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -391,11 +391,13 @@ BrowseListItem::BrowseListItem(const UrlSearchItem &item, const QString &text, Q { QString url = text; + kDebug() << text; + QHBoxLayout *hLayout = new QHBoxLayout; hLayout->setSpacing(4); hLayout->addWidget( new IconLabel(item.url.url(), this) ); - hLayout->addWidget( new TextLabel( QL1S("Browse http://") + url.remove("http://") + QL1S(""), QString(), this) ); + hLayout->addWidget( new TextLabel(item.url.url(), text, this) ); hLayout->addWidget( new TypeIconLabel(item.type, this) ); setLayout(hLayout); -- cgit v1.2.1