From 6cf030d8d3fe0b53dac66175faa5c508f75d9ad0 Mon Sep 17 00:00:00 2001 From: Petar Perisin Date: Wed, 2 Oct 2013 09:40:08 +0300 Subject: Git: Rename push enum values Change-Id: I2809096774882ba1e7e98e2805ad94f03a70dbdc Reviewed-by: Orgad Shaneh --- src/plugins/git/gitplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/git/gitplugin.cpp') diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index 72d9f4bb6d..7d0f918c74 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -1123,9 +1123,9 @@ bool GitPlugin::submitEditorAboutToClose() } if (m_gitClient->checkCommandInProgress(m_submitRepository) == GitClient::NoCommand) { - if (editor->panelData().pushAction == CommitAndPush) + if (editor->panelData().pushAction == NormalPush) m_gitClient->push(m_submitRepository); - else if (editor->panelData().pushAction == CommitAndPushToGerrit) + else if (editor->panelData().pushAction == PushToGerrit) connect(editor, SIGNAL(destroyed()), this, SLOT(delayedPushToGerrit())); } -- cgit v1.2.1