path: root/src/gui
diff options
authorLaurent Montel <>2019-12-03 13:42:08 +0100
committerLaurent Montel <>2019-12-05 11:57:50 +0100
commitccef2c33b284f2fd0bc08d518398af58214b020f (patch)
tree9555e9c61955fff11573c9ebdaf7bd9ab5c5bb54 /src/gui
parentd872719bf543a60108db88632d061e343e12b607 (diff)
Fix compile with we use QT_DISABLE_DEPRECATED_BEFORE=0x060000 in apps
in qt5.15 you deprecated iterator &operator--() in qhash but QDataStream needs it. (see writeAssociativeContainer) So when we compile without deprecated method we can see: qdatastream.h:333:9: error: no match for ‘operator--’ (operand type is ‘QHash<QString, QImage>::const_iterator’) 333 | --it; | ^~~~ The current code is only QHash<QString, QImage> m_images; QDataStream stream(&file); stream << m_images; Change-Id: I12e61c0c60615455ac1eeff02969f155edb12e56 Reviewed-by: Mårten Nordheim <>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions