mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Clazy: Add second batch of SIGNAL/SLOT removal
This commit is contained in:
@ -271,10 +271,10 @@ QWidget *YACReaderRatingDelegate::createEditor(QWidget *parent,
|
||||
Q_UNUSED(option)
|
||||
Q_UNUSED(index)
|
||||
StarEditor *editor = new StarEditor(parent);
|
||||
connect(editor, SIGNAL(editingFinished()),
|
||||
this, SLOT(sendCloseEditor()));
|
||||
connect(editor, SIGNAL(commitData()),
|
||||
this, SLOT(sendCommitData()));
|
||||
connect(editor, &StarEditor::editingFinished,
|
||||
this, &YACReaderRatingDelegate::sendCloseEditor);
|
||||
connect(editor, &StarEditor::commitData,
|
||||
this, &YACReaderRatingDelegate::sendCommitData);
|
||||
return editor;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user