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

@ -7,10 +7,10 @@ ComicFlow::ComicFlow(QWidget *parent, FlowType flowType)
: YACReaderFlow(parent, flowType), worker(new WorkerThread<QImage>)
{
resetWorkerIndex();
connect(&updateTimer, SIGNAL(timeout()), this, SLOT(updateImageData()));
connect(&updateTimer, &QTimer::timeout, this, &ComicFlow::updateImageData);
connect(this, SIGNAL(centerIndexChanged(int)), this, SLOT(preload()));
connect(this, SIGNAL(centerIndexChangedSilent(int)), this, SLOT(preload()));
connect(this, &PictureFlow::centerIndexChanged, this, &ComicFlow::preload);
connect(this, &PictureFlow::centerIndexChangedSilent, this, &ComicFlow::preload);
setReflectionEffect(PlainReflection);
}