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:
Orgad Shaneh
2013-10-02 15:11:07 +03:00
committed by Orgad Shaneh
parent 589d9c7773
commit c07eaa2a25
6 changed files with 12 additions and 8 deletions

View File

@@ -68,7 +68,6 @@ struct GitSubmitEditorPanelData
QString email;
bool bypassHooks;
PushAction pushAction;
bool hasRemotes;
};
QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &);
@@ -115,6 +114,7 @@ public:
QString commitEncoding;
GitSubmitEditorPanelInfo panelInfo;
GitSubmitEditorPanelData panelData;
bool enablePush;
QList<StateFilePair> files;