diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2010-10-14 18:14:44 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2010-10-15 13:18:06 +0200 |
commit | 551ed8228c03c41f1e4115677a24eab715cfa310 (patch) | |
tree | 6834bc2d6dc34af13e6b7b5e2027d4d30781334d /src/plugins/git/clonewizardpage.cpp | |
parent | 0c0df86d3018147815750d69df5dbc6e083977b7 (diff) | |
download | qt-creator-551ed8228c03c41f1e4115677a24eab715cfa310.tar.gz |
Git integration: Disambiguate precedence to silence gcc warning
Reviewed-by: Tobias Hunger
Diffstat (limited to 'src/plugins/git/clonewizardpage.cpp')
-rw-r--r-- | src/plugins/git/clonewizardpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/clonewizardpage.cpp b/src/plugins/git/clonewizardpage.cpp index db4dd17e2a..644ec060b7 100644 --- a/src/plugins/git/clonewizardpage.cpp +++ b/src/plugins/git/clonewizardpage.cpp @@ -62,7 +62,7 @@ bool CloneWizardPagePrivate::urlIsLocal(const QString &url) { if (url.startsWith(QLatin1String("file://")) || url.startsWith(QLatin1Char('/')) - || url.at(0).isLetter() && url.at(1) == QChar(':') && url.at(2) == QChar('\\')) + || (url.at(0).isLetter() && url.at(1) == QChar(':') && url.at(2) == QChar('\\'))) return true; return false; } |