forked from qt-creator/qt-creator
Do never offer signature autocompletion for constructor calls.
They should always use the function parameter tooltip. This fixes a bug where you were offered completion for C foo( -> C foo(int x) if C had a constructor taking int x. Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
This commit is contained in:
@@ -115,7 +115,7 @@ private:
|
||||
|
||||
bool completeConstructorOrFunction(const QList<CPlusPlus::TypeOfExpression::Result> &,
|
||||
const CPlusPlus::LookupContext &,
|
||||
int endOfExpression);
|
||||
int endOfExpression, bool toolTipOnly);
|
||||
|
||||
bool completeMember(const QList<CPlusPlus::TypeOfExpression::Result> &,
|
||||
const CPlusPlus::LookupContext &context);
|
||||
|
||||
Reference in New Issue
Block a user