Commit e4a6f620 authored by Tim Jenssen's avatar Tim Jenssen
Browse files

QmlJSEditor: remove unused method



Change-Id: Idab6b104a9e057afde3bcc3059f00592deacfed7
Reviewed-by: default avatarMarco Benelli <marco.benelli@qt.io>
parent b66baab4
......@@ -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;
......
......@@ -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;
......
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