Remove use of QLinkedList
ClosedPublic

Authored by apol on Mar 8 2020, 8:05 PM.

Details

Summary

Uses QList instead which is not yet deprecated

Diff Detail

Repository
R455 KompareDiff2 Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol requested review of this revision.Mar 8 2020, 8:05 PM
apol created this revision.
kossebau added inline comments.Mar 8 2020, 8:48 PM
komparemodellist.cpp
1071–1072

Not having looked further, but lines could be directly starting off by taking the result of that split() call, instead of manually copying the list, no?

1072–1073

IMHO auto is fine as type for iterators variables.

mlaurent requested changes to this revision.Mar 9 2020, 5:45 AM
mlaurent added inline comments.
komparemodellist.cpp
1071–1072

yep indeed.

This revision now requires changes to proceed.Mar 9 2020, 5:45 AM
apol updated this revision to Diff 77283.Mar 9 2020, 3:03 PM

Simplify code

mlaurent accepted this revision.Mar 9 2020, 4:21 PM
This revision is now accepted and ready to land.Mar 9 2020, 4:21 PM
This revision was automatically updated to reflect the committed changes.