forked from qt-creator/qt-creator
GerritServer: Using namespace Git::Internal
Change-Id: Ibce01855a8dcc2ca9dd3ca0a91b062508d42907c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
f4c0c78002
commit
6e7d2a4001
@@ -37,6 +37,7 @@
|
||||
#include <QRegularExpression>
|
||||
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user