From 13711f34491e2f6fb0b85809d4511a30884b95fd Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 12 Jun 2012 12:22:53 +0200 Subject: Clean up urlbar code by removing duplicated code --- src/urlbar/urlbar.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/urlbar/urlbar.h') diff --git a/src/urlbar/urlbar.h b/src/urlbar/urlbar.h index 4f2586bc..fadd2f95 100644 --- a/src/urlbar/urlbar.h +++ b/src/urlbar/urlbar.h @@ -131,6 +131,11 @@ protected: void resizeEvent(QResizeEvent *); private: + /** + * Updates right icon position, given its number in the right icons list + * and considering rekonq window position/dimension + */ + void updateRightIconPosition(IconButton *, int); IconButton *addRightIcon(UrlBar::icon); QWeakPointer _box; -- cgit v1.2.1