forked from qt-creator/qt-creator
		
	EditorManager: Remove useless method
Change-Id: I87c2d861d88e783bd41f200a76853477d05cce0f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
		@@ -507,11 +507,6 @@ void EditorManager::updateAutoSave()
 | 
			
		||||
        d->m_autoSaveTimer->stop();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
EditorToolBar *EditorManager::createToolBar(QWidget *parent)
 | 
			
		||||
{
 | 
			
		||||
    return new EditorToolBar(parent);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EditorManager::removeEditor(IEditor *editor)
 | 
			
		||||
{
 | 
			
		||||
    bool lastOneForDocument = false;
 | 
			
		||||
 
 | 
			
		||||
@@ -95,8 +95,6 @@ public:
 | 
			
		||||
 | 
			
		||||
    static EditorManager *instance();
 | 
			
		||||
 | 
			
		||||
    static EditorToolBar *createToolBar(QWidget *parent = 0);
 | 
			
		||||
 | 
			
		||||
    enum OpenEditorFlag {
 | 
			
		||||
        NoFlags = 0,
 | 
			
		||||
        DoNotChangeCurrentEditor = 1,
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,7 @@ using namespace Core::Internal;
 | 
			
		||||
EditorView::EditorView(SplitterOrView *parentSplitterOrView, QWidget *parent) :
 | 
			
		||||
    QWidget(parent),
 | 
			
		||||
    m_parentSplitterOrView(parentSplitterOrView),
 | 
			
		||||
    m_toolBar(EditorManager::createToolBar(this)),
 | 
			
		||||
    m_toolBar(new EditorToolBar(this)),
 | 
			
		||||
    m_container(new QStackedWidget(this)),
 | 
			
		||||
    m_infoBarDisplay(new InfoBarDisplay(this)),
 | 
			
		||||
    m_statusHLine(new QFrame(this)),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user