forked from qt-creator/qt-creator
CppTools: Simplify
Change-Id: Id10cbcf541d8105265c531e63a64e2fd34e27379 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -51,9 +51,7 @@ bool CppCompletionAssistProvider::isActivationCharSequence(const QString &sequen
|
||||
const QChar &ch = sequence.at(2);
|
||||
const QChar &ch2 = sequence.at(1);
|
||||
const QChar &ch3 = sequence.at(0);
|
||||
if (activationSequenceChar(ch, ch2, ch3, nullptr, true, false) != 0)
|
||||
return true;
|
||||
return false;
|
||||
return activationSequenceChar(ch, ch2, ch3, nullptr, true, false);
|
||||
}
|
||||
|
||||
bool CppCompletionAssistProvider::isContinuationChar(const QChar &c) const
|
||||
|
||||
Reference in New Issue
Block a user