diff options
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r-- | src/urlbar/listitem.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <i>http://<b>") + url.remove("http://") + QL1S("</b></i>"), QString(), this) ); + hLayout->addWidget( new TextLabel(item.url.url(), text, this) ); hLayout->addWidget( new TypeIconLabel(item.type, this) ); setLayout(hLayout); |