forked from qt-creator/qt-creator
VCS: Offer to save-all before commit
Task-number: QTCREATORBUG-3857 Change-Id: I3ff3d90803eec4134b9da4af5567753ad7bffafb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -556,6 +556,8 @@ void PerforcePlugin::printOpenedFileList()
|
||||
|
||||
void PerforcePlugin::startSubmitProject()
|
||||
{
|
||||
if (!promptBeforeCommit())
|
||||
return;
|
||||
|
||||
if (raiseSubmitEditor())
|
||||
return;
|
||||
@@ -1225,6 +1227,11 @@ void PerforceDiffConfig::triggerReRun()
|
||||
emit reRunDiff(effectiveParameters);
|
||||
}
|
||||
|
||||
QString PerforcePlugin::commitDisplayName() const
|
||||
{
|
||||
return tr("submit", "\"commit\" action for perforce");
|
||||
}
|
||||
|
||||
void PerforcePlugin::p4Diff(const QString &workingDir, const QStringList &files)
|
||||
{
|
||||
PerforceDiffParameters p;
|
||||
|
||||
Reference in New Issue
Block a user