[Differential] [Changed Subscribers] D3341: add connector name to screen model
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Tue Nov 15 09:55:20 UTC 2016
graesslin added inline comments.
INLINE COMMENTS
> drm_output.cpp:177-228
> + switch (connector->connector_type) {
> + case DRM_MODE_CONNECTOR_VGA:
> + connectorName = QStringLiteral("VGA");
> + break;
> + case DRM_MODE_CONNECTOR_DVII:
> + connectorName = QStringLiteral("DVI-I");
> + break;
I would prefer a static hashmap instead of a long switch statement. Similar to how it is done in Weston.
REPOSITORY
rKWIN KWin
REVISION DETAIL
https://phabricator.kde.org/D3341
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: mart, #plasma
Cc: graesslin, plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161115/5693321b/attachment-0001.html>
More information about the Plasma-devel
mailing list