diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-14 11:59:43 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-14 11:59:43 +0200 |
commit | c05b14ad0f8358171f4dc199e61dc0a259d0aa65 (patch) | |
tree | 37679c4f73129cb88d69ae09329ab8fb9ee25af0 /src/urlbar/lineedit.h | |
parent | Set default background to white (diff) | |
download | rekonq-c05b14ad0f8358171f4dc199e61dc0a259d0aa65.tar.xz |
Proper solutions are always the best ones :)
Fix duplicated right icons.
CCBUG: 234320
Diffstat (limited to 'src/urlbar/lineedit.h')
-rw-r--r-- | src/urlbar/lineedit.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/urlbar/lineedit.h b/src/urlbar/lineedit.h index 5b8ff2a3..68cdc7d1 100644 --- a/src/urlbar/lineedit.h +++ b/src/urlbar/lineedit.h @@ -77,9 +77,7 @@ public: virtual ~LineEdit(); IconButton *iconButton() const; - - void clearRightIcons(); - + protected: virtual void keyPressEvent(QKeyEvent *); virtual void mouseDoubleClickEvent(QMouseEvent *); @@ -88,6 +86,9 @@ protected: IconButton *addRightIcon(LineEdit::icon ); +private slots: + void clearRightIcons(); + private: IconButton *_icon; IconButtonPointerList _rightIconsList; |