Port away from deprecated signal KIO::MimetypeJob::mimetype

NO_CHANGELOG
This commit is contained in:
Friedrich W. H. Kossebau 2020-12-25 01:03:30 +01:00
parent 1a1e32bff3
commit fb105c6feb

View File

@ -477,7 +477,7 @@ void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y, KI
job->setParent(m_dropMenu.data());
QObject::connect(job, &KJob::result, this, &ContainmentInterface::dropJobResult);
QObject::connect(job, QOverload<KIO::Job *, const QString &>::of(&KIO::MimetypeJob::mimetype),
QObject::connect(job, &KIO::MimetypeJob::mimeTypeFound,
this, &ContainmentInterface::mimeTypeRetrieved);
} else {