Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made the project compatible with Qt 5.6 #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Made the project compatible with Qt 5.6 #109

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 13, 2016

No description provided.

@mabrand mabrand mentioned this pull request Mar 17, 2016
@@ -48,7 +48,11 @@ ZipReader::~ZipReader()

void ZipReader::init()
{
#if QT_VERSION >= 0x050600
QVector<QZipReader::FileInfo> allFiles = m_reader->fileInfoList();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to test QT_VERSION. fileInfoList() always returns QVector. It wouldn't be a bad idea to make this const.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, mabrand.

  1. I don't think that fileInfoList always returns a QVector :
    /usr/local/Qt-5.5.0/include/QtGui/5.5.0/QtGui/private/qzipreader_p.h
    91: QList fileInfoList() const;
    /usr/local/Qt-5.6.0/include/QtGui/5.6.0/QtGui/private/qzipreader_p.h
    91: QVector fileInfoList() const;
  2. It would indeed be a good idea to make this const.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right about that. Somehow I overlooked that change.

@mabrand mabrand mentioned this pull request Mar 19, 2016
@VSRonin
Copy link

VSRonin commented Apr 19, 2016

As the author is not active any more, please submit your pull request to https://github.com/VSRonin/QtXlsxWriter I'll take care of maintaining code until the author is back

@ghost
Copy link
Author

ghost commented Apr 19, 2016

Thank you. I will try to do that in the next few days.

rue-ryuzaki added a commit to rue-ryuzaki/QtXlsxWriter that referenced this pull request Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants