meven added inline comments.
INLINE COMMENTS
> view.cpp:224
>
> - Q_FOREACH (QScreen* screen, QGuiApplication::screens()) {
> + const auto screens = QGuiApplication::screens();
> + for (QScreen* screen : screens) {
screens currently returns QList<QScreen* > and QList should get deprecated in
Qt6, so using auto might save us some porting later on.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D24913
To: meven, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2,
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, ahiemstra, mart