diff options
author | dt <qtc-committer@nokia.com> | 2009-05-18 19:11:11 +0200 |
---|---|---|
committer | dt <qtc-committer@nokia.com> | 2009-05-25 13:42:13 +0200 |
commit | 41b3b3e3b4b81b32f0865824be1530a5fdf4d329 (patch) | |
tree | 15a016a5df51fb68201519944a44b7e3d3f5c5b6 /src/plugins/vcsbase/vcsbaseeditor.cpp | |
parent | dc3641b9e1167ae5f8a77910b081d9a2e9c1312b (diff) | |
download | qt-creator-41b3b3e3b4b81b32f0865824be1530a5fdf4d329.tar.gz |
Fixes showing temporary files
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseeditor.cpp')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseeditor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/vcsbase/vcsbaseeditor.cpp b/src/plugins/vcsbase/vcsbaseeditor.cpp index 3675999266..5ed80e5db7 100644 --- a/src/plugins/vcsbase/vcsbaseeditor.cpp +++ b/src/plugins/vcsbase/vcsbaseeditor.cpp @@ -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; |