summaryrefslogtreecommitdiff
path: root/src/plugins/subversion
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2022-10-22 22:16:44 +0300
committerOrgad Shaneh <orgads@gmail.com>2022-10-25 19:19:40 +0000
commitd63bfa4a2975541b51fc8173fdb06933bb9dd40d (patch)
tree147d436e0b06e6a347058e0edfd70bb867b8da49 /src/plugins/subversion
parentaa339276515da0b8c40193813de00d3cebfa1a3b (diff)
downloadqt-creator-d63bfa4a2975541b51fc8173fdb06933bb9dd40d.tar.gz
VCS: Simplify submit editor accept/close flow
* Replace message box with an error on the output pane. * Separate logic for accept and close. Change-Id: Ib9fa201a1a67ee195086f7a22bc6678a9642452a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/subversion')
-rw-r--r--src/plugins/subversion/subversionplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/subversion/subversionplugin.cpp b/src/plugins/subversion/subversionplugin.cpp
index c11eb3901e..0925893ffb 100644
--- a/src/plugins/subversion/subversionplugin.cpp
+++ b/src/plugins/subversion/subversionplugin.cpp
@@ -222,7 +222,7 @@ public:
protected:
void updateActions(VcsBase::VcsBasePluginPrivate::ActionState) override;
- bool submitEditorAboutToClose() override;
+ bool activateCommit() override;
void discardCommit() override { cleanCommitMessageFile(); }
private:
@@ -543,7 +543,7 @@ SubversionClient *SubversionPluginPrivate::client()
return m_client;
}
-bool SubversionPluginPrivate::submitEditorAboutToClose()
+bool SubversionPluginPrivate::activateCommit()
{
if (!isCommitEditorOpen())
return true;