Browse Source

Resolve compile error for qt 5.6.0+

master
Debao Zhang 5 years ago
parent
commit
29713af768
  1. 3
      src/xlsx/xlsxzipreader.cpp

3
src/xlsx/xlsxzipreader.cpp

@ -26,6 +26,7 @@
#include "xlsxzipreader_p.h"
#include <private/qzipreader_p.h>
#include <QtCore/qvector.h>
namespace QXlsx {
@ -48,7 +49,7 @@ ZipReader::~ZipReader()
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);

Loading…
Cancel
Save