Convert emit(signal()) calls to emit signal()

This commit is contained in:
Luis Ángel San Martín
2021-09-30 21:57:55 +02:00
parent 8437bd38f4
commit e1ed292a91
8 changed files with 23 additions and 23 deletions

View File

@ -604,7 +604,7 @@ void FileComic::process()
}
_index = _firstPage;
emit(openAt(_index));
emit openAt(_index);
int sectionIndex;
QList<QVector<quint32>> sections = getSections(sectionIndex);
@ -701,7 +701,7 @@ void FolderComic::process()
_index = _firstPage;
emit(openAt(_index));
emit openAt(_index);
emit pageChanged(0); // this indicates new comic, index=0
emit numPages(_pages.size());
@ -847,7 +847,7 @@ void PDFComic::process()
}
_index = _firstPage;
emit(openAt(_index));
emit openAt(_index);
// buffer index to avoid race conditions
int buffered_index = _index;