diff framework/VersionTester.cpp @ 229:8c13e8219903 debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:40 +0100
parents 84b2c1a4984a
children 8aace2d9f1c2
line wrap: on
line diff
--- a/framework/VersionTester.cpp	Thu May 12 17:31:56 2011 +0100
+++ b/framework/VersionTester.cpp	Mon May 16 17:19:40 2011 +0100
@@ -19,6 +19,7 @@
 */
 
 #include "VersionTester.h"
+#include "base/Debug.h"
 
 #include <iostream>
 
@@ -87,9 +88,7 @@
     if (lines.empty()) return;
 
     QString latestVersion = lines[0];
-    std::cerr << "Comparing current version \"" << m_myVersion.toStdString()
-              << "\" with latest version \"" << latestVersion.toStdString()
-	      << "\"" << std::endl;
+    DEBUG << "Comparing current version \"" << m_myVersion              << "\" with latest version \"" << latestVersion	      << "\"" << endl;
     if (isVersionNewerThan(latestVersion, m_myVersion)) {
         emit newerVersionAvailable(latestVersion);
     }