diff options
author | Friedemann Kleint <[email protected]> | 2012-01-31 10:57:10 +0100 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2012-01-31 11:26:52 +0100 |
commit | e2ace515e2f3c9c8508e7922dabc1fffdfe57402 (patch) | |
tree | ba4fa85ccd3e3dda4d0b0ba9ade1397213e7cfda /src/plugins/git/remotemodel.cpp | |
parent | cdae5f2102cbf32931fe6ea19e47feaee1b4638a (diff) |
Version control: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I85c007045efdb207f397b42fbce7a554ac9c9819
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/remotemodel.cpp')
-rw-r--r-- | src/plugins/git/remotemodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/remotemodel.cpp b/src/plugins/git/remotemodel.cpp index 18eaaf8f394..4f0f6506dc0 100644 --- a/src/plugins/git/remotemodel.cpp +++ b/src/plugins/git/remotemodel.cpp @@ -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; |