Show debug button when KDevelop session is running

Authored by croick on Jul 8 2019, 9:57 PM.

Description

Show debug button when KDevelop session is running

Summary:

  • independently of the config setting in drkonqirc propose debugging with KDevelop if a session is available
  • default debugger is only displayed if ShowDebugButton=true in [DrKonqi]
  • button is the first action button to be displayed
  • fix adding/removing of the button to the button box

Test Plan:

  • set ShowDebugButton=false, have no KDevelop session running
  • force a crash (using src/tests/crashtest for instance)
  • DrKonqi shows no debug button
  • start a KDevelop session
  • the button appears with the KDevelop session selectable
  • quit DrKonqi, set ShowDebugButton=true
  • crash again, the button now always is visible, including the default debugger as a selection

Reviewers: Plasma: Workspaces, apol, mwolff, KDevelop, sitter

Reviewed By: sitter

Subscribers: kossebau, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D11234

Details

Committed
croickJul 9 2019, 8:38 PM
Reviewer
sitter
Differential Revision
D11234: [DrKonqi] Show debug button when KDevelop session is running
Parents
R871:598d1560b6e2: Merge branch 'Plasma/5.16'
Branches
Unknown
Tags
Unknown