forked from qt-creator/qt-creator
CMakePM: Remove subsequent call to wordUnderCursor
Just use the value above it. Change-Id: I16e1e3217de6e03d7bf9f16e6966c9854bd68930 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -90,10 +90,7 @@ void CMakeEditor::contextHelp(const HelpCallback &callback) const
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
callback({{id, Utils::Text::wordUnderCursor(editorWidget()->textCursor())},
|
callback({{id, word}, {}, {}, HelpItem::Unknown});
|
||||||
{},
|
|
||||||
{},
|
|
||||||
HelpItem::Unknown});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user