diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-11 14:34:22 +0200 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-11 21:29:37 +0200 |
commit | 89ac1b7f00b1632f655ade8daf34cc3d49df93f3 (patch) | |
tree | 452ae1d9724ea5cac9da29eada94babf8619353e /src/mainwindow.cpp | |
parent | Refactor NewTabPage::browsingMenu() to clean the creation of item (diff) | |
download | rekonq-89ac1b7f00b1632f655ade8daf34cc3d49df93f3.tar.xz |
Refactor createNavItem to use it everywhere .link items are used
Change createNavItem() to a more generic createLinkItem() capable of
generating icon of any type.
Use the new createLinkItem() in every position where .link items are
created.
Fix the flags used for icons. The flags were specified with a boolean
or operator:
KIconLoader::SizeSmall || KIconLoader::Small -> one |
All the icon flags have been changed to KIconLoader::Toolbar in order
to keep the same behavior as before (Toolbar value equals 1).
Diffstat (limited to 'src/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions