mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-13 16:39:48 +02:00
fixing build on Ubuntu with older Qt
This commit is contained in:
@@ -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; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user