forked from qt-creator/qt-creator
Move displayName from IEditor to IDocument
The display name is not editor instance specific, but belongs to the document. Change-Id: I3c936f04a86e10e6ca30063d85036d85b4b5880e Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -56,8 +56,6 @@ public:
|
||||
public:
|
||||
void setDescription(const QString &description);
|
||||
// Core::IEditor
|
||||
QString displayName() const;
|
||||
void setDisplayName(const QString &title);
|
||||
Core::Id id() const;
|
||||
|
||||
QWidget *toolBar();
|
||||
@@ -69,7 +67,6 @@ private:
|
||||
void updateEntryToolTip();
|
||||
|
||||
TextEditor::BaseTextEditorWidget *m_diffShowWidget;
|
||||
mutable QString m_displayName;
|
||||
QToolButton *m_toggleDescriptionButton;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user