D12000: [ProcessModel] Return invalid QVariant() for when window is not known

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Apr 6 21:48:26 UTC 2018


broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  This communicates "unknown" better than a zero. The KSysGuardProcessList also seems to expect this.

TEST PLAN
  I no longer get a non-working "Show Application Window" in context menu for processes that don't have a window associated with them.

REPOSITORY
  R111 KSysguard Library

REVISION DETAIL
  https://phabricator.kde.org/D12000

AFFECTED FILES
  processui/ProcessModel.cpp

To: broulik, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180406/be105cfd/attachment.html>


More information about the Plasma-devel mailing list