forked from qt-creator/qt-creator
VCS: Refresh submit editor status when it might change
Including Git implementation Task-number: QTCREATORBUG-5644 Change-Id: Ic5dede99d93b84e5d271292b4694216f51e66882 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -52,6 +52,7 @@ public:
|
||||
explicit GitSubmitEditor(const VcsBase::VcsBaseSubmitEditorParameters *parameters, QWidget *parent);
|
||||
|
||||
void setCommitData(const CommitData &);
|
||||
void setAmend(bool amend);
|
||||
GitSubmitEditorPanelData panelData() const;
|
||||
|
||||
signals:
|
||||
@@ -60,6 +61,7 @@ signals:
|
||||
|
||||
protected:
|
||||
QByteArray fileContents() const;
|
||||
void updateFileModel();
|
||||
|
||||
private slots:
|
||||
void slotDiffSelected(const QStringList &);
|
||||
@@ -69,6 +71,8 @@ private:
|
||||
|
||||
VcsBase::SubmitFileModel *m_model;
|
||||
QString m_commitEncoding;
|
||||
bool m_amend;
|
||||
QString m_workingDirectory;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user