Replace std::cout and std::cerr with qDebug and qWarning.

This commit is contained in:
Jim Evins
2014-09-26 21:44:33 -04:00
parent 3d9875545c
commit f402599b8a
9 changed files with 162 additions and 179 deletions
+4 -5
View File
@@ -20,7 +20,7 @@
#include "Template.h"
#include <iostream>
#include <QtDebug>
#include "Db.h"
@@ -109,10 +109,9 @@ namespace libglabels
}
else
{
std::cerr << "Error: cannot create equivalent template for "
<< qPrintable(brand) << ", " << qPrintable(equivPart)
<< ". Forward references not supported."
<< std::endl;
qWarning() << "Error: cannot create equivalent template for "
<< brand << ", " << equivPart
<< ". Forward references not supported.";
return NULL;
}
}