forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Orgad Shaneh
parent
589d9c7773
commit
c07eaa2a25
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user