comparison framework/VersionTester.cpp @ 233:8aace2d9f1c2

Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author Chris Cannam
date Tue, 14 Jun 2011 15:27:12 +0100
parents 8c13e8219903
children 3c236d31cccd
comparison
equal deleted inserted replaced
232:025065fd5b49 233:8aace2d9f1c2
86 QString str = QString::fromUtf8(responseData.data()); 86 QString str = QString::fromUtf8(responseData.data());
87 QStringList lines = str.split('\n', QString::SkipEmptyParts); 87 QStringList lines = str.split('\n', QString::SkipEmptyParts);
88 if (lines.empty()) return; 88 if (lines.empty()) return;
89 89
90 QString latestVersion = lines[0]; 90 QString latestVersion = lines[0];
91 DEBUG << "Comparing current version \"" << m_myVersion << "\" with latest version \"" << latestVersion << "\"" << endl; 91 SVDEBUG << "Comparing current version \"" << m_myVersion << "\" with latest version \"" << latestVersion << "\"" << endl;
92 if (isVersionNewerThan(latestVersion, m_myVersion)) { 92 if (isVersionNewerThan(latestVersion, m_myVersion)) {
93 emit newerVersionAvailable(latestVersion); 93 emit newerVersionAvailable(latestVersion);
94 } 94 }
95 } 95 }
96 96