Commit 44dd2b6b authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by Eike Ziller
Browse files

fix build against qt4



Change-Id: I1884f6e61dcae95817da10f0ead67f2df99b4ec7
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent ef298df4
......@@ -783,7 +783,7 @@ QString nameOfFirstDeclaration(const Document::Ptr &doc)
if (CPlusPlus::Declaration *decl = s->asDeclaration()) {
if (const CPlusPlus::Name *name = decl->name()) {
if (const CPlusPlus::Identifier *identifier = name->identifier())
return QLatin1String(identifier->chars(), identifier->size());
return QString::fromLatin1(identifier->chars(), identifier->size());
}
}
}
......
......@@ -102,7 +102,7 @@ static QString updateVariable(const QString &varStr, const QString &varsToAdd,
var.remove(s);
QStringList sl = QStringList::fromSet(var);
return sl.join(QLatin1Char(' '));
return sl.join(QLatin1String(" "));
}
bool ProjectFileConverter::convertFile(Core::GeneratedFile &file, QString &errorMessage)
......
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