From 9508531a2d421a2c22e03f053fa9efd6d6bd6ebc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sat, 15 Mar 2014 19:45:15 +0100 Subject: [PATCH] - Remove debugging messages - Version bump --- datafileexporter.cpp | 3 --- globalinfo.cpp | 2 +- imagedrawer.cpp | 5 +---- 3 files changed, 2 insertions(+), 8 deletions(-) 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; } -- 2.43.5