https://bugs.kde.org/show_bug.cgi?id=378948

            Bug ID: 378948
           Summary: PatchReview plugin should only handle
                    DocumentController signals when active
           Product: kdevplatform
           Version: unspecified
          Platform: Compiled Sources
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: patchreview
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
                CC: david.nolden....@art-master.de
  Target Milestone: ---

Created attachment 105090
  --> https://bugs.kde.org/attachment.cgi?id=105090&action=edit
add an active state variable to PatchReviewPlugin

As observed in the linked ticket, the PatchReview plugin should probably only
process the subscribed DocumentController signals when it's actually being
used.

The attached patch should ensure that by adding a state variable. The `m_patch`
member variable was already being used for that but as far as I can tell it
remains non-null when the plugin has been used once.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to