Mercurial > hg > svapp
diff framework/VersionTester.cpp @ 232:025065fd5b49
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:49:22 +0100 |
parents | 8c13e8219903 |
children | 8aace2d9f1c2 |
line wrap: on
line diff
--- a/framework/VersionTester.cpp Thu Apr 14 15:21:41 2011 +0100 +++ b/framework/VersionTester.cpp Tue Jun 14 14:49:22 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); }