forked from qt-creator/qt-creator
CPPEditor: Remove unneeded code.
Change-Id: I7f0263e461f5d03cd7ccde47ebbeaabad8d11c6d Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user