Easy replacement of deprecated QLinkedList to eliminate compiler warnings
QLinkedList is deprecated. This triggers many compiler warnings with gcc 8.4.0. The fix is easy - replace QLinkedList by std::list. Details are:
- include <QtCore/QLinkedList> -> include
- .first() -> .front()
- .last() -> .back()
- .append() -> .push_back()
- QLinkedList -> std::list
Attached files have these suggested changes
poppler-annotation.hpoppler-annotation-private.hpoppler-annotation.cc