forked from qt-creator/qt-creator
Use new qt5 connect api
Change-Id: I6c0d4ec60759b3c2fedac3e6649b7ec5102a6487 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -112,8 +112,10 @@ ConfigurationEditor::ConfigurationEditor(QWidget *parent)
|
||||
m_completer->setCaseSensitivity(Qt::CaseInsensitive);
|
||||
m_completer->popup()->installEventFilter(this);
|
||||
|
||||
connect(m_completer, SIGNAL(activated(QString)), this, SLOT(insertCompleterText(QString)));
|
||||
connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(updateDocumentation()));
|
||||
connect(m_completer, static_cast<void (QCompleter::*)(const QString &)>(&QCompleter::activated),
|
||||
this, &ConfigurationEditor::insertCompleterText);
|
||||
connect(this, &ConfigurationEditor::cursorPositionChanged,
|
||||
this, &ConfigurationEditor::updateDocumentation);
|
||||
}
|
||||
|
||||
void ConfigurationEditor::setSettings(AbstractSettings *settings)
|
||||
|
||||
Reference in New Issue
Block a user