diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-10-02 15:11:07 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-10-05 19:15:11 +0200 |
commit | c07eaa2a252a9e108155c0f14219119e6f80505f (patch) | |
tree | 4188efeb36ebe01b663af9ea11d64a1e7e217833 /src/plugins/git/commitdata.cpp | |
parent | 589d9c777355de26b426263190e9bd782ac69590 (diff) |
Git: Move hasRemotes out of panel data
It is input only, and doesn't belong to the panel
Also rename it enablePush
Change-Id: I9d5e2246ce76854a54b02e69980214dd35a402ee
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
-rw-r--r-- | src/plugins/git/commitdata.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp index 7654d00372..068b3bd1e8 100644 --- a/src/plugins/git/commitdata.cpp +++ b/src/plugins/git/commitdata.cpp @@ -54,7 +54,6 @@ void GitSubmitEditorPanelData::clear() email.clear(); bypassHooks = false; pushAction = NoPush; - hasRemotes = false; } QString GitSubmitEditorPanelData::authorString() const @@ -79,7 +78,9 @@ QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &data) return d; } -CommitData::CommitData(CommitType type) : commitType(type) +CommitData::CommitData(CommitType type) + : commitType(type) + , enablePush(false) { } @@ -88,6 +89,7 @@ void CommitData::clear() panelInfo.clear(); panelData.clear(); amendSHA1.clear(); + enablePush = false; files.clear(); } |