diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-06 18:25:33 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-06 18:25:33 +0200 |
commit | a92b7b14b51befb39b003a8f69091d922f874212 (patch) | |
tree | b1f4740b73bbcf3ba165c891a34f994a5ccc6bb3 /src/bookmarks/bookmarksmanager.h | |
parent | This should fix bug 240432 (diff) | |
download | rekonq-a92b7b14b51befb39b003a8f69091d922f874212.tar.xz |
Performance improvement on startup
Load bookmark menu just on first click. This is needed cause of bad startup
rekonq performance with more than 1000 bookmarks as pointed out by.. (thjis?)
This trick needs a workaround on first bookmarks menu showing. Do you notice it?
Diffstat (limited to 'src/bookmarks/bookmarksmanager.h')
-rw-r--r-- | src/bookmarks/bookmarksmanager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarksmanager.h b/src/bookmarks/bookmarksmanager.h index dfebebd2..0087c600 100644 --- a/src/bookmarks/bookmarksmanager.h +++ b/src/bookmarks/bookmarksmanager.h @@ -263,7 +263,9 @@ public slots: */ void slotBookmarksChanged(const QString &group, const QString &caller); - +private slots: + void triggerBookmarkMenu(); + private: void fillBookmarkBar(KToolBar *toolBar); QString titleForBookmarkUrl(const KBookmark &bookmark, QString url); @@ -274,6 +276,8 @@ private: BookmarkMenu *m_bookmarkMenu; QList<KToolBar*> m_bookmarkToolBars; AwesomeUrlCompletion *m_completion; + + KActionMenu *_bookmarkActionMenu; }; |