Gui: move to new style connect()

This commit is contained in:
wmayer
2023-02-01 11:58:00 +01:00
committed by wwmayer
parent 25beef481c
commit 8d42b6f93c
43 changed files with 237 additions and 246 deletions

View File

@@ -535,8 +535,8 @@ CompletionList::CompletionList(QPlainTextEdit* parent)
pal.setColor(QPalette::Inactive, QPalette::HighlightedText, pal.color(QPalette::Active, QPalette::HighlightedText));
parent->setPalette( pal );
connect(this, SIGNAL(itemActivated(QListWidgetItem *)),
this, SLOT(completionItem(QListWidgetItem *)));
connect(this, &CompletionList::itemActivated,
this, &CompletionList::completionItem);
}
CompletionList::~CompletionList()