From 96330988d6be686ca79776518ac52d59c1848e33 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 2 Sep 2010 13:00:10 +0200 Subject: Fix wrong highlights in the search strings PS: this fix costs a string change, sorry BUG: 249735 --- src/urlbar/listitem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/urlbar/listitem.h') diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h index 37b22f47..be5a2569 100644 --- a/src/urlbar/listitem.h +++ b/src/urlbar/listitem.h @@ -121,6 +121,9 @@ class TextLabel : public QLabel public: explicit TextLabel(const QString &text, const QString &textToPointOut = QString(), QWidget *parent = 0); + explicit TextLabel(QWidget *parent = 0); + + void setEngineText(const QString &engine, const QString &text); }; @@ -165,8 +168,6 @@ private slots: void changeSearchEngine(KService::Ptr engine); private: - QString searchItemTitle(QString engine, QString text); - TextLabel* m_titleLabel; IconLabel* m_iconLabel; EngineBar* m_engineBar; -- cgit v1.2.1