Commit 25ddacc2 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Add using Git::Internal to GerritPushDialog

Change-Id: I7b2dab05809040397c7221ed830730bc1c5a019d
Reviewed-by: default avatarTobias Hunger <>
parent 3bb1d048
......@@ -37,13 +37,15 @@
#include <QDir>
#include <QRegExpValidator>
using namespace Git::Internal;
namespace Gerrit {
namespace Internal {
class PushItemDelegate : public Git::Internal::IconItemDelegate
class PushItemDelegate : public IconItemDelegate
PushItemDelegate(Git::Internal::LogChangeWidget *widget)
PushItemDelegate(LogChangeWidget *widget)
: IconItemDelegate(widget, QLatin1String(":/git/images/arrowup.png"))
......@@ -80,7 +82,7 @@ GerritPushDialog::GerritPushDialog(const QString &workingDir, const QString &rev
m_localChangesFound = true;
Git::Internal::GitClient *gitClient = Git::Internal::GitPlugin::instance()->gitClient();
GitClient *gitClient = GitPlugin::instance()->gitClient();
QString output;
QString error;
QStringList args;
......@@ -185,8 +187,7 @@ QString GerritPushDialog::calculateChangeRange()
QString number;
if (!Git::Internal::GitPlugin::instance()->gitClient()->
synchronousRevListCmd(m_workingDir, args, &number))
if (!GitPlugin::instance()->gitClient()->synchronousRevListCmd(m_workingDir, args, &number))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment