forked from qt-creator/qt-creator
Git: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I60dcd378419b92f96dc681921701c9231ef8ee57 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -290,7 +290,7 @@ void ChangeSelectionDialog::changeTextChanged(const QString &text)
|
||||
if (QCompleter *comp = m_ui->changeNumberEdit->completer()) {
|
||||
if (text.isEmpty() && !comp->popup()->isVisible()) {
|
||||
comp->setCompletionPrefix(text);
|
||||
QTimer::singleShot(0, comp, SLOT(complete()));
|
||||
QTimer::singleShot(0, comp, [comp]{ comp->complete(); });
|
||||
}
|
||||
}
|
||||
recalculateDetails();
|
||||
|
||||
Reference in New Issue
Block a user