QmlJSEditor: remove unused method

Change-Id: Idab6b104a9e057afde3bcc3059f00592deacfed7
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Tim Jenssen
2017-04-04 15:00:10 +02:00
parent b66baab4b7
commit e4a6f62001
2 changed files with 0 additions and 14 deletions

View File

@@ -500,18 +500,6 @@ QString QmlJSEditorWidget::wordUnderCursor() const
return word;
}
bool QmlJSEditorWidget::isClosingBrace(const QList<Token> &tokens) const
{
if (tokens.size() == 1) {
const Token firstToken = tokens.first();
return firstToken.is(Token::RightBrace) || firstToken.is(Token::RightBracket);
}
return false;
}
void QmlJSEditorWidget::createToolBar()
{
m_outlineCombo = new QComboBox;

View File

@@ -109,8 +109,6 @@ protected:
void onRefactorMarkerClicked(const TextEditor::RefactorMarker &marker) override;
private:
bool isClosingBrace(const QList<QmlJS::Token> &tokens) const;
void setSelectedElements();
QString wordUnderCursor() const;