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