From 551ed8228c03c41f1e4115677a24eab715cfa310 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Thu, 14 Oct 2010 18:14:44 +0200 Subject: [PATCH] Git integration: Disambiguate precedence to silence gcc warning Reviewed-by: Tobias Hunger --- src/plugins/git/clonewizardpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/git/clonewizardpage.cpp b/src/plugins/git/clonewizardpage.cpp index db4dd17e2a0..644ec060b7e 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; } -- GitLab