1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-25 12:47:44 +01:00

fixing build on Ubuntu with older Qt

This commit is contained in:
Vadim Kurland 2011-03-31 18:19:21 -07:00
parent 3f07b14b02
commit ace4ef025c
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ QMap<QString, QPair<int,int> > ObjectSignature::icmp_names;
void ObjectMakerErrorTracker::registerError(const QString &msg)
{
errors.append(msg);
if ( ! errors.contains(msg)) errors.append(msg);
error_status = true;
}

View File

@ -82,7 +82,7 @@ public:
void registerError(const QString &msg);
bool hasErrors() { return error_status; }
QStringList getErrors() { errors.removeDuplicates(); return errors; }
QStringList getErrors() { return errors; }
};