forked from qt-creator/qt-creator
Utils: Modernize connections
Change-Id: I4650abc84e7c82a4054197319f6c849af9e5b8ce Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -166,7 +166,7 @@ SuppressionDialog::SuppressionDialog(MemcheckErrorView *view, const QList<Error>
|
||||
|
||||
m_suppressionEdit->setPlainText(suppressions);
|
||||
|
||||
connect(m_fileChooser, static_cast<void (Utils::PathChooser:: *)()>(&Utils::PathChooser::validChanged),
|
||||
connect(m_fileChooser, &Utils::PathChooser::validChanged,
|
||||
this, &SuppressionDialog::validate);
|
||||
connect(m_suppressionEdit->document(), &QTextDocument::contentsChanged,
|
||||
this, &SuppressionDialog::validate);
|
||||
|
||||
Reference in New Issue
Block a user