mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
Refactor files in src/client/ui to new Qt Slot/Signal syntax (#5832)
This commit is contained in:
parent
686717e544
commit
728c87589f
11 changed files with 51 additions and 48 deletions
|
|
@ -117,7 +117,7 @@ void LineEditCompleter::setCompleter(QCompleter *completer)
|
|||
{
|
||||
c = completer;
|
||||
c->setWidget(this);
|
||||
connect(c, SIGNAL(activated(QString)), this, SLOT(insertCompletion(QString)));
|
||||
connect(c, qOverload<const QString &>(&QCompleter::activated), this, &LineEditCompleter::insertCompletion);
|
||||
}
|
||||
|
||||
void LineEditCompleter::setCompletionList(QStringList completionList)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue