Git: Avoid duplicate check for modified files

Change-Id: I05e09434944706a61cc079c30d37309eea5019f5
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-11-20 10:45:42 +02:00
committed by Orgad Shaneh
parent 5077081319
commit 6c74ef237a

View File

@@ -748,8 +748,6 @@ void GitPlugin::undoFileChanges(bool revertStaging)
void GitPlugin::undoUnstagedFileChanges()
{
if (!DocumentManager::saveAllModifiedDocuments())
return;
undoFileChanges(false);
}