diff --git a/src/plugins/git/gerrit/gerritserver.cpp b/src/plugins/git/gerrit/gerritserver.cpp index addd917ee70..1c2e8807a45 100644 --- a/src/plugins/git/gerrit/gerritserver.cpp +++ b/src/plugins/git/gerrit/gerritserver.cpp @@ -37,6 +37,7 @@ #include using namespace Utils; +using namespace Git::Internal; namespace Gerrit { namespace Internal { @@ -167,7 +168,7 @@ QStringList GerritServer::curlArguments() int GerritServer::testConnection() { - static Git::Internal::GitClient *const client = Git::Internal::GitPlugin::client(); + static GitClient *const client = GitPlugin::client(); const QStringList arguments = curlArguments() << (url(RestUrl) + accountUrlC); const SynchronousProcessResponse resp = client->vcsFullySynchronousExec( QString(), FileName::fromString(curlBinary), arguments,