Signal and slot signature does not match, you should get a warning message about connect statement - you cannot connect a signal with no parameters to a slot expecting a parameter, because what should be the parameter value inside the slot when signal is delivered ?
This should work:
connect(watcher,SIGNAL(finished()),this,SLOT(copyComplete()));
// and change the slot:
void ViewerMain::copyComplete()
{
qDebug("Copy complete fired!");
}
connect(watcher,SIGNAL(finished()),this,SLOT(copyComplete()));
// and change the slot:
void ViewerMain::copyComplete()
{
qDebug("Copy complete fired!");
}
To copy to clipboard, switch view to plain text mode
Bookmarks