Remove redundant deleteLater

This commit is contained in:
Anton Thomasson 2022-01-17 21:32:12 +01:00
parent 8b4c2f373b
commit 8843275fde

View file

@ -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);