From b44a0fd574329a54a8377b5fe9e58748f846611f Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 1 Apr 2010 15:38:45 +0200 Subject: Cleaning awesome bar code a bit.. - update is better than repaint (this also probably solves the flickering results update) - right scope for some methods - removed KUrl use from there --- src/urlbar/listitem.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/urlbar/listitem.h') diff --git a/src/urlbar/listitem.h b/src/urlbar/listitem.h index ac476d4b..1e7b0805 100644 --- a/src/urlbar/listitem.h +++ b/src/urlbar/listitem.h @@ -34,7 +34,7 @@ class UrlSearchItem; class ListItem : public QWidget { -Q_OBJECT + Q_OBJECT public: ListItem(const UrlSearchItem &item, QWidget *parent = 0); @@ -55,5 +55,4 @@ protected: private: QStyleOptionViewItemV4 m_option; QString guessNameFromUrl(QUrl url); - }; -- cgit v1.2.1