D27675: feat: Avoid duplicated text when assembling user-facing output names

Daniel Vrátil noreply at phabricator.kde.org
Wed Feb 26 12:00:34 GMT 2020


dvratil created this revision.
dvratil added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
dvratil requested review of this revision.

REVISION SUMMARY
  The string format by default is `Vendor Model (output)`, where `Vendor`
  and `Model` are read from EDID and `output` is the name of the output
  reported by the platform.
  
  This patch adds logic to skip the `(output)` part if its the same as
  `Vendor Model`.

REPOSITORY
  R104 KScreen

BRANCH
  master

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

AFFECTED FILES
  common/utils.cpp

To: dvratil, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/53cee3b7/attachment.html>


More information about the Plasma-devel mailing list