Q_WS_WIN -> Q_OS_WIN (bug #62)

This commit is contained in:
alqualos 2015-09-07 04:30:41 +00:00
parent 531a93130e
commit 159bece5db
2 changed files with 2 additions and 2 deletions

View file

@ -754,7 +754,7 @@ QList<QuaZipFileInfo64> QuaZip::getFileInfoList64() const
Qt::CaseSensitivity QuaZip::convertCaseSensitivity(QuaZip::CaseSensitivity cs)
{
if (cs == csDefault) {
#ifdef Q_WS_WIN
#ifdef Q_OS_WIN
return Qt::CaseInsensitive;
#else
return Qt::CaseSensitive;

View file

@ -337,7 +337,7 @@ void TestQuaZipFile::setFileName()
QVERIFY(createTestArchive(testZipName, QStringList() << testFileName));
QuaZipFile testFile(testZipName);
testFile.setFileName(testFileName.toUpper());
#ifdef Q_WS_WIN
#ifdef Q_OS_WIN
QVERIFY(testFile.open(QIODevice::ReadOnly));
testFile.close();
#else