forked from qt-creator/qt-creator
VCS: Always allow "Revert Chunk"
Remove revertDiffChunkEnabled property Any diff view might relate to previous changes, so it makes sense to always allow reverting them Change-Id: I8da0fb2d8625ac98140d1bde0296a4478bc6a0b7 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
3c342a49dc
commit
671bfb9250
@@ -95,7 +95,6 @@ class VCSBASE_EXPORT VcsBaseEditorWidget : public TextEditor::BaseTextEditorWidg
|
||||
Q_PROPERTY(QString annotateRevisionTextFormat READ annotateRevisionTextFormat WRITE setAnnotateRevisionTextFormat)
|
||||
Q_PROPERTY(QString copyRevisionTextFormat READ copyRevisionTextFormat WRITE setCopyRevisionTextFormat)
|
||||
Q_PROPERTY(bool isFileLogAnnotateEnabled READ isFileLogAnnotateEnabled WRITE setFileLogAnnotateEnabled)
|
||||
Q_PROPERTY(bool revertDiffChunkEnabled READ isRevertDiffChunkEnabled WRITE setRevertDiffChunkEnabled)
|
||||
Q_OBJECT
|
||||
|
||||
protected:
|
||||
@@ -142,10 +141,6 @@ public:
|
||||
QString diffBaseDirectory() const;
|
||||
void setDiffBaseDirectory(const QString &d);
|
||||
|
||||
// Diff: Can revert?
|
||||
bool isRevertDiffChunkEnabled() const;
|
||||
void setRevertDiffChunkEnabled(bool e);
|
||||
|
||||
bool isModified() const;
|
||||
|
||||
EditorContentType contentType() const;
|
||||
|
||||
Reference in New Issue
Block a user