D24037: Add enforced mode size getter
Roman Gilg
noreply at phabricator.kde.org
Wed Sep 18 00:07:59 BST 2019
romangg created this revision.
romangg added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
romangg requested review of this revision.
REVISION SUMMARY
Introduce little helper to API, which gives back either the current mode size
or if no current mode is set the preferred mode or if there is no preferred
mode as last resort the first one in the map if the map is not empty.
TEST PLAN
Compiles.
REPOSITORY
R110 KScreen Library
BRANCH
enforcedModeSize
REVISION DETAIL
https://phabricator.kde.org/D24037
AFFECTED FILES
src/output.cpp
src/output.h
To: romangg, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190917/0b13d16a/attachment.html>
More information about the Plasma-devel
mailing list