[Kinit] Compile without foreach
ClosedPublic

Authored by mlaurent on Mar 17 2019, 2:25 PM.

Details

Summary

compile without foreach

Test Plan

autotest ok

Diff Detail

Repository
R303 KInit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mlaurent created this revision.Mar 17 2019, 2:25 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 17 2019, 2:25 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
mlaurent requested review of this revision.Mar 17 2019, 2:25 PM
dfaure requested changes to this revision.Mar 17 2019, 8:09 PM
dfaure added inline comments.
src/kdeinit/kinit_win.cpp
440

How can this compile? The variable is called list instead of lst.

This revision now requires changes to proceed.Mar 17 2019, 8:09 PM
mlaurent added inline comments.Mar 17 2019, 10:09 PM
src/kdeinit/kinit_win.cpp
440

Windows code :) I can"t test it.
thanks for pointing me it.

mlaurent marked an inline comment as done.Mar 18 2019, 5:58 AM
pino added a subscriber: pino.Mar 18 2019, 7:42 AM
pino added inline comments.
src/kdeinit/kinit_win.cpp
300–301

qDeleteAll?

452

'lst' vs 'list'

mlaurent updated this revision to Diff 54177.Mar 18 2019, 8:19 AM

Fix comment reported by Pino

dfaure accepted this revision.Mar 18 2019, 8:23 AM
This revision is now accepted and ready to land.Mar 18 2019, 8:23 AM
This revision was automatically updated to reflect the committed changes.