[rekonq] Review Request 108888: rekonq: Actions appear multiple times in custom context menu
Dimitrios Christidis
dchristidis at ceid.upatras.gr
Sun Feb 10 13:42:49 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108888/
-----------------------------------------------------------
Review request for rekonq and Dimitrios Christidis.
Description
-------
When right-clicking on the main toolbar, items "Bookmarks Toolbar" and "Configure Main ToolBar" appear multiple times. To be precise, they appear once for every tab that is currently open.
This bug was introduced in commit 2d8de46a. Each WebWindow creates a new collection, so the loop in MainToolBar::showCustomContextMenu() finds the actions mentioned above multiple times.
I'm attaching a simple diff as a proof-of-concept. Please advise me on what is the correct way to address this issue. Then, I'll create a proper commit patch.
Diffs
-----
src/webwindow/maintoolbar.cpp ee667ec
Diff: http://git.reviewboard.kde.org/r/108888/diff/
Testing
-------
Thanks,
Dimitrios Christidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rekonq/attachments/20130210/7a146d2c/attachment.html>
More information about the rekonq
mailing list