Clazy: Use fixits to refactor some old style signal connections

This commit is contained in:
Felix Kauselmann
2021-06-01 18:14:24 +02:00
parent ca81b5424a
commit 8377de7c3e
49 changed files with 371 additions and 367 deletions

View File

@ -195,7 +195,7 @@ ImportWidget::ImportWidget(QWidget *parent)
" QToolButton:checked {background:url(\":/images/hiddenCovers.png\"); border:none;}");
hideButton->setCheckable(true);
connect(hideButton, SIGNAL(toggled(bool)), this, SLOT(showCovers(bool)));
connect(hideButton, &QAbstractButton::toggled, this, &ImportWidget::showCovers);
layout->addWidget(coversLabel, 0, Qt::AlignHCenter);
layout->addWidget(coversViewContainer);
@ -203,7 +203,7 @@ ImportWidget::ImportWidget(QWidget *parent)
layout->addWidget(currentComicLabel, 0, Qt::AlignHCenter);
layout->setContentsMargins(0, layout->contentsMargins().top(), 0, layout->contentsMargins().bottom());
connect(stop, SIGNAL(clicked()), this, SIGNAL(stop()));
connect(stop, &QAbstractButton::clicked, this, &ImportWidget::stop);
//connect(stop,SIGNAL(clicked()),this,SLOT(addCoverTest()));
previousWidth = 0;