D6838: Fix duplicated annotation context menus & entries on repeated border show
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Sat Jul 22 18:46:36 UTC 2017
kossebau created this revision.
Restricted Application added a subscriber: kdevelop-devel.
Handler of annotationContextMenuAboutToShow was not disconnected,
thus accumulating connect calls and that way repeated addition
of on-the-fly-created actions "Copy Revision" & "History...".
Patch also fixes document-lifetime leakage of VcsAnnotationModel instances,
where used once were never deleted once the annotation border had been
Before on multiple hide and show of the annotation border for the same
document the two actions mentioned above were duplicated by times of
shown border. With this patch they no longer are. No sideeffects seen.
To: kossebau, #kdevelop, brauch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel