YACReader/viewer: Convert a bunch of loosely related signals to new syntax

This commit is contained in:
Felix Kauselmann
2021-06-22 12:28:00 +02:00
parent d9ca26faf0
commit 5b66153390
4 changed files with 8 additions and 6 deletions

View File

@ -152,7 +152,7 @@ Viewer::~Viewer()
void Viewer::createConnections()
{
//magnifyingGlass (update mg after a background change
connect(this, SIGNAL(backgroundChanges()), mglass, SLOT(updateImage()));
connect(this, &Viewer::backgroundChanges, mglass, QOverload<>::of(&MagnifyingGlass::updateImage));
//goToDialog
connect(goToDialog, &GoToDialog::goToPage, this, &Viewer::goTo);