Remove redundant deleteLater
This commit is contained in:
parent
8b4c2f373b
commit
8843275fde
1 changed files with 0 additions and 2 deletions
|
@ -14,8 +14,6 @@ IppPrinter::IppPrinter() : _worker(this)
|
|||
|
||||
_worker.moveToThread(&_workerThread);
|
||||
|
||||
connect(&_workerThread, &QThread::finished, &_worker, &QObject::deleteLater);
|
||||
|
||||
connect(this, &IppPrinter::doDoGetPrinterAttributes, &_worker, &PrinterWorker::getPrinterAttributes);
|
||||
connect(this, &IppPrinter::doGetJobs, &_worker, &PrinterWorker::getJobs);
|
||||
connect(this, &IppPrinter::doCancelJob, &_worker, &PrinterWorker::cancelJob);
|
||||
|
|
Loading…
Reference in a new issue