Commit 78a75b8e authored by David Schulz's avatar David Schulz
Browse files

CPPEditor: Remove unneeded code.



Change-Id: I7f0263e461f5d03cd7ccde47ebbeaabad8d11c6d
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent f2e4b2b9
...@@ -635,7 +635,6 @@ void CPPEditorWidget::createToolBar(CPPEditor *editor) ...@@ -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 ...@@ -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();
......
...@@ -158,7 +158,6 @@ protected Q_SLOTS: ...@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment