do not add debugger button unless it is meant to be visible

Authored by sitter on Mar 17 2017, 12:11 PM.

Description

do not add debugger button unless it is meant to be visible

Summary:
QDBBox explicitly calls show() and hide() all over the place ultimately
resulting in the button being visible when in fact we do not want it to
be.

Test Plan:

  • without patch I always get a debug button despite showExternalDebuggers returning false
  • with patch I don't

Reviewers: broulik

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
sitterMar 17 2017, 12:12 PM
Differential Revision
D5080: do not add debugger button unless it is meant to be visible
Parents
R871:6c4983a28767: Use kpackagetool5 instead of plasmapkg
Branches
Unknown
Tags
Unknown