From 1267f3fe447a31d0f47ad472850cf06159b57c5e Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 30 May 2012 16:36:57 +0200 Subject: [PATCH] Fix compilation with Qt 5. No match for operator ==(QStringRef, const char *). Change-Id: I37e365f08ab990c41ce9431558ad679a63acd952 Reviewed-by: Friedemann Kleint --- src/plugins/git/gitorious/gitorious.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/git/gitorious/gitorious.cpp b/src/plugins/git/gitorious/gitorious.cpp index ef329696704..cce08b2c4cc 100644 --- a/src/plugins/git/gitorious/gitorious.cpp +++ b/src/plugins/git/gitorious/gitorious.cpp @@ -240,7 +240,7 @@ void GitoriousProjectReader::readProjects(QXmlStreamReader &reader) break; if (reader.isStartElement()) { - if (reader.name() == "project") { + if (reader.name() == QLatin1String("project")) { const QSharedPointer p = readProject(reader); if (!p->name.isEmpty()) m_projects.push_back(p);