forked from qt-creator/qt-creator
Fixes showing temporary files
This commit is contained in:
@@ -75,6 +75,8 @@ public:
|
||||
Core::IEditor *duplicate(QWidget * /*parent*/) { return 0; }
|
||||
const char *kind() const { return m_kind; }
|
||||
|
||||
bool temporayEditor() const { return true; }
|
||||
|
||||
private:
|
||||
const char *m_kind;
|
||||
QList<int> m_context;
|
||||
@@ -104,6 +106,8 @@ public:
|
||||
virtual QToolBar *toolBar() { return m_toolBar; }
|
||||
QComboBox *diffFileBrowseComboBox() const { return m_diffFileBrowseComboBox; }
|
||||
|
||||
bool temporayEditor() const { return true; }
|
||||
|
||||
private:
|
||||
QComboBox *m_diffFileBrowseComboBox;
|
||||
QToolBar *m_toolBar;
|
||||
|
||||
Reference in New Issue
Block a user