Commit aa2b37c0 authored by Méven Car's avatar Méven Car
Browse files

recentlyused: Fix a warning

parent 514a7e75
Pipeline #173473 passed with stage
in 5 minutes and 35 seconds
......@@ -174,9 +174,9 @@ KIO::UDSEntry RecentlyUsed::udsEntryFromResource(const QString &resource, const
// we do not want to wait for the event loop to delete the job
QScopedPointer<KIO::StatJob> sp(job);
if (job->exec()) {
uds = job->statResult();
if (sp->exec()) {
uds = sp->statResult();
uds.fastInsert(KIO::UDSEntry::UDS_URL, resourceUrl.toString());
uds.fastInsert(KIO::UDSEntry::UDS_MIME_TYPE, mimeType);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment