From: Michal MalĂ˝ Date: Sat, 15 Mar 2014 18:45:15 +0000 (+0100) Subject: - Remove debugging messages X-Git-Tag: 0.2e X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=9508531a2d421a2c22e03f053fa9efd6d6bd6ebc;p=anyanka.git - Remove debugging messages - Version bump --- diff --git a/datafileexporter.cpp b/datafileexporter.cpp index 823b4b6..54513f5 100644 --- a/datafileexporter.cpp +++ b/datafileexporter.cpp @@ -171,11 +171,8 @@ void DataFileExporter::guessFormatFromSuffix(const QString& name) for (size_t i = 0; i < SUPPORTED_FORMATS.size(); i++) { const OutputFormat& of = SUPPORTED_FORMATS.at(i); if (suffix.compare(of.second) == 0) { - qDebug() << "Changing format to idx" << i; emit formatChanged(i); return; } } - - qDebug() << "Cannot guess type from suffix"; } diff --git a/globalinfo.cpp b/globalinfo.cpp index c1ca9e1..098e710 100644 --- a/globalinfo.cpp +++ b/globalinfo.cpp @@ -25,4 +25,4 @@ const int GlobalInfo::APP_VERSION_MAJ(0); const int GlobalInfo::APP_VERSION_MIN(2); -const QString GlobalInfo::APP_VERSION_REV("d"); +const QString GlobalInfo::APP_VERSION_REV("e"); diff --git a/imagedrawer.cpp b/imagedrawer.cpp index e751a5f..c3af9dc 100644 --- a/imagedrawer.cpp +++ b/imagedrawer.cpp @@ -101,12 +101,9 @@ int ImageDrawer::guessFormatFromSuffix(const QString& name) for (int i = 0; i < formats.size(); i++) { const QString f = QString(formats.at(i)); - if (suffix.compare(f) == 0) { - qDebug() << "Changing format to idx" << i << ", type" << f; + if (suffix.compare(f) == 0) return i; - } } - qDebug() << "Cannot guess type from suffix"; return -1; }