Mercurial > clickerconvert
changeset 29:000824f6f683
Compile with qt 5.6
The internal list changed to QVector
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 11 Apr 2016 13:36:36 +0200 |
parents | 6f38bb40a441 |
children | 53090844eddd |
files | src/xlsx/xlsxzipreader.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xlsx/xlsxzipreader.cpp Mon Apr 11 13:09:28 2016 +0200 +++ b/src/xlsx/xlsxzipreader.cpp Mon Apr 11 13:36:36 2016 +0200 @@ -26,6 +26,7 @@ #include "xlsxzipreader_p.h" #include <private/qzipreader_p.h> +#include <QVector> namespace QXlsx { @@ -48,7 +49,7 @@ void ZipReader::init() { - QList<QZipReader::FileInfo> allFiles = m_reader->fileInfoList(); + auto allFiles = m_reader->fileInfoList(); foreach (const QZipReader::FileInfo &fi, allFiles) { if (fi.isFile) m_filePaths.append(fi.filePath);