apol added a comment.
FWIW, for this you could have used QList::value(0), it would have saved quite a bit of boilerplate. https://doc.qt.io/qt-5/qlist.html#value REPOSITORY R133 KScreenLocker REVISION DETAIL https://phabricator.kde.org/D26772 To: davidedmundson, #plasma, ngraham Cc: apol, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart
