CPPEditor: Remove unneeded code.

Change-Id: I7f0263e461f5d03cd7ccde47ebbeaabad8d11c6d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
David Schulz
2013-08-29 11:27:02 +02:00
parent f2e4b2b9c8
commit 78a75b8e89
2 changed files with 0 additions and 5 deletions

View File

@@ -635,7 +635,6 @@ void CPPEditorWidget::createToolBar(CPPEditor *editor)
// set up slots to document changes // set up slots to document changes
updateContentsChangedSignal(); updateContentsChangedSignal();
connect(editorDocument(), SIGNAL(changed()), this, SLOT(updateFileName()));
// set up function declaration - definition link // set up function declaration - definition link
connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(updateFunctionDeclDefLink())); connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(updateFunctionDeclDefLink()));
@@ -992,9 +991,6 @@ void CPPEditorWidget::onContentsChanged(int position, int charsRemoved, int char
updateUses(); updateUses();
} }
void CPPEditorWidget::updateFileName()
{}
void CPPEditorWidget::jumpToOutlineElement(int index) void CPPEditorWidget::jumpToOutlineElement(int index)
{ {
QModelIndex modelIndex = m_outlineCombo->view()->currentIndex(); QModelIndex modelIndex = m_outlineCombo->view()->currentIndex();

View File

@@ -158,7 +158,6 @@ protected Q_SLOTS:
void slotCodeStyleSettingsChanged(const QVariant &); void slotCodeStyleSettingsChanged(const QVariant &);
private Q_SLOTS: private Q_SLOTS:
void updateFileName();
void jumpToOutlineElement(int index); void jumpToOutlineElement(int index);
void updateOutlineNow(); void updateOutlineNow();
void updateOutlineIndex(); void updateOutlineIndex();