From c84e432745ed8d03e7893c7f6d58f8e3af55bbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Wed, 25 Mar 2015 23:08:29 +0100 Subject: [PATCH] Merged in selmf/yacreader/compressed-archive-testing (pull request #23) Fix typos (and hopefully windows compilation) --- compressed_archive/compressed_archive.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/compressed_archive/compressed_archive.cpp b/compressed_archive/compressed_archive.cpp index 979523af..e11b054c 100644 --- a/compressed_archive/compressed_archive.cpp +++ b/compressed_archive/compressed_archive.cpp @@ -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") @@ -159,10 +159,12 @@ CompressedArchive::CompressedArchive(const QString & filePath, QObject *parent) #ifdef Q_OS_WIN - if(!formatFound) - { - qDebug() << "Can not open archive" << endl; + if(!formatFound) + { + 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() {