forked from qt-creator/qt-creator
Version control: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I85c007045efdb207f397b42fbce7a554ac9c9819 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
cdae5f2102
commit
e2ace515e2
@@ -39,10 +39,10 @@ namespace Internal {
|
||||
// Parse a branch line: " *name sha description".
|
||||
bool RemoteModel::Remote::parse(const QString &line)
|
||||
{
|
||||
if (!line.endsWith(" (fetch)"))
|
||||
if (!line.endsWith(QLatin1String(" (fetch)")))
|
||||
return false;
|
||||
|
||||
QStringList tokens = line.split(QRegExp("\\s"), QString::SkipEmptyParts);
|
||||
QStringList tokens = line.split(QRegExp(QLatin1String("\\s")), QString::SkipEmptyParts);
|
||||
if (tokens.count() != 3)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user