Commit bfa07e3c authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Christian Stenger

VCS: Fix build

Change-Id: Ie18986306317b72558b3c59021bfa921fd2fcd5b
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 21ab4c42
......@@ -509,7 +509,7 @@ void BazaarPlugin::createSubmitEditorActions()
void BazaarPlugin::commit()
{
if (!promptBeforeCommit()))
if (!promptBeforeCommit())
return;
if (raiseSubmitEditor())
......
......@@ -648,7 +648,7 @@ QString VcsBasePlugin::commitDisplayName() const
bool VcsBasePlugin::promptBeforeCommit()
{
return DocumentManager::saveAllModifiedDocuments(tr("Save before %1?").arg(commitDisplayName());
return DocumentManager::saveAllModifiedDocuments(tr("Save before %1?").arg(commitDisplayName()));
}
void VcsBasePlugin::promptToDeleteCurrentFile()
......
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