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:
parent
3f07b14b02
commit
ace4ef025c
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user