diff options
| author | hjk <hjk@qt.io> | 2025-04-29 11:17:30 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2025-04-29 09:26:32 +0000 |
| commit | fe531818c58ad375d96e90710f37daf973df1f7f (patch) | |
| tree | 8492f49adc6eb459c67cb45b637fc1f8086890ac /src/plugins/git/commitdata.cpp | |
| parent | a1dea6b28399ea3679212863683a6e49f2d6894c (diff) | |
Git: Initialize GitSubmitEditorPanelData
... and remove the since 6e552e43416df72 unused clear() methods of
CommitData members.
Amends 6e552e43416df72.
Change-Id: I94d1cad5266306057330f076149b996dff9a0828
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
| -rw-r--r-- | src/plugins/git/commitdata.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp index 18d51729dc6..0a623651f1e 100644 --- a/src/plugins/git/commitdata.cpp +++ b/src/plugins/git/commitdata.cpp @@ -10,21 +10,6 @@ namespace Git::Internal { -void GitSubmitEditorPanelInfo::clear() -{ - repository.clear(); - branch.clear(); -} - -void GitSubmitEditorPanelData::clear() -{ - author.clear(); - email.clear(); - bypassHooks = false; - pushAction = NoPush; - signOff = false; -} - QString GitSubmitEditorPanelData::authorString() const { if (email.isEmpty()) |
