Commit daa4e0b7 authored by Volker Krause's avatar Volker Krause
Browse files

Pass QLatin1String by value (clazy check)

parent 74a4804a
Pipeline #33431 passed with stage
in 4 minutes and 15 seconds
......@@ -155,7 +155,7 @@ bool PassPrivate::parseMessages(const QString &lang)
return !messages.isEmpty();
QVector<Field> PassPrivate::fields(const QLatin1String &fieldType, const Pass *q) const
QVector<Field> PassPrivate::fields(QLatin1String fieldType, const Pass *q) const
const auto a = passData().value(fieldType).toArray();
QVector<Field> f;
......@@ -27,7 +27,7 @@ public:
void parse();
bool parseMessages(const QString &lang);
QVector<Field> fields(const QLatin1String &fieldType, const Pass *q) const;
QVector<Field> fields(QLatin1String fieldType, const Pass *q) const;
static Pass *fromData(std::unique_ptr<QIODevice> device, QObject *parent);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment