forked from qt-creator/qt-creator
Git: Remove double warning for gerrit push
Change-Id: I5581521753fa525c6bb9f53725c28f947c8bbd44 Reviewed-by: Petar Perisin <petar.perisin@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
92392454b7
commit
1f447715b0
@@ -312,11 +312,8 @@ void GerritPlugin::push()
|
||||
// QScopedPointer is required to delete the dialog when leaving the function
|
||||
GerritPushDialog dialog(topLevel, m_reviewers, Core::ICore::mainWindow());
|
||||
|
||||
if (!dialog.localChangesFound()) {
|
||||
QMessageBox::warning(Core::ICore::mainWindow(), tr("No Local Changes"),
|
||||
tr("Change from HEAD appears to be in remote branch already. Aborting."));
|
||||
if (!dialog.localChangesFound())
|
||||
return;
|
||||
}
|
||||
|
||||
if (!dialog.valid()) {
|
||||
QMessageBox::warning(Core::ICore::mainWindow(), tr("Initialization Failed"),
|
||||
|
||||
Reference in New Issue
Block a user