forked from qt-creator/qt-creator
Fix compilation with Qt 5.
No match for operator ==(QStringRef, const char *). Change-Id: I37e365f08ab990c41ce9431558ad679a63acd952 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -240,7 +240,7 @@ void GitoriousProjectReader::readProjects(QXmlStreamReader &reader)
|
||||
break;
|
||||
|
||||
if (reader.isStartElement()) {
|
||||
if (reader.name() == "project") {
|
||||
if (reader.name() == QLatin1String("project")) {
|
||||
const QSharedPointer<GitoriousProject> p = readProject(reader);
|
||||
if (!p->name.isEmpty())
|
||||
m_projects.push_back(p);
|
||||
|
Reference in New Issue
Block a user