mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Clazy: Use fixits to refactor some old style signal connections
This commit is contained in:
@ -11,7 +11,7 @@ YACReaderSliderAction::YACReaderSliderAction(QWidget *parent)
|
||||
widget = new YACReaderSlider();
|
||||
setDefaultWidget(widget);
|
||||
|
||||
connect(widget, SIGNAL(zoomRatioChanged(int)), this, SIGNAL(zoomRatioChanged(int)));
|
||||
connect(widget, &YACReaderSlider::zoomRatioChanged, this, &YACReaderSliderAction::zoomRatioChanged);
|
||||
}
|
||||
|
||||
void YACReaderSliderAction::updateText(int value)
|
||||
|
Reference in New Issue
Block a user