Merged in selmf/yacreader/compressed-archive-testing (pull request #23)

Fix typos (and hopefully windows compilation)
This commit is contained in:
Luis Ángel San Martín 2015-03-25 23:08:29 +01:00
parent 37a972e873
commit c84e432745

View File

@ -120,7 +120,7 @@ CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent)
#else
//match suffix to GUID list
if (suffix == "rar" || suffix == "cbr")
i=0
i=0;
else if (suffix == "zip" || suffix == "cbz")
i=1;
else if (suffix == "tar" || suffix == "cbt")
@ -163,6 +163,8 @@ CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent)
{
qDebug() << "Can not open archive" << endl;
}
}
}
#else
}
else
@ -204,10 +206,11 @@ CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent)
valid = formatFound = true;
//isRar = true;
}
#endif
}
}
}
#endif
CompressedArchive::~CompressedArchive()
{