mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
YACReader/viewer: Convert a bunch of loosely related signals to new syntax
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user