mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Use 4 args connect
This commit is contained in:
parent
567c00102d
commit
154f215c38
@ -137,7 +137,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
|
||||
auto scaleBox = new QGroupBox(tr("Fit options"));
|
||||
auto scaleLayout = new QVBoxLayout();
|
||||
scaleCheckbox = new QCheckBox(tr("Enlarge images to fit width/height"));
|
||||
connect(scaleCheckbox, &QCheckBox::clicked,
|
||||
connect(scaleCheckbox, &QCheckBox::clicked, scaleCheckbox,
|
||||
[=](bool checked) {
|
||||
Configuration::getConfiguration().setEnlargeImages(checked);
|
||||
emit changedImageOptions();
|
||||
@ -150,7 +150,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
|
||||
auto doublePageBox = new QGroupBox(tr("Double Page options"));
|
||||
auto doublePageBoxLayout = new QVBoxLayout();
|
||||
coverSPCheckBox = new QCheckBox(tr("Show covers as single page"));
|
||||
connect(coverSPCheckBox, &QCheckBox::clicked,
|
||||
connect(coverSPCheckBox, &QCheckBox::clicked, coverSPCheckBox,
|
||||
[=](bool checked) {
|
||||
settings->setValue(COVER_IS_SP, checked);
|
||||
emit changedImageOptions();
|
||||
|
Loading…
Reference in New Issue
Block a user