diff options
author | Petar Perisin <petar.perisin@gmail.com> | 2013-10-02 09:40:08 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-10-02 08:42:03 +0200 |
commit | 6cf030d8d3fe0b53dac66175faa5c508f75d9ad0 (patch) | |
tree | 714a0227f270348ea44246aecb86682b375948b0 /src/plugins/git/gitplugin.cpp | |
parent | 13a0b348beae60b109dd9ec2755cc53b3156a6b0 (diff) | |
download | qt-creator-6cf030d8d3fe0b53dac66175faa5c508f75d9ad0.tar.gz |
Git: Rename push enum values
Change-Id: I2809096774882ba1e7e98e2805ad94f03a70dbdc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r-- | src/plugins/git/gitplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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())); } |