Commit ae2cc209 authored by Michael Reeves's avatar Michael Reeves

Remove default for second parameter to setFromdsEntry

m_pFileAccess is always set to null if no parent is present.
parent b14d87a3
......@@ -849,7 +849,7 @@ void FileAccessJobHandler::slotStatResult(KJob* pJob)
const KIO::UDSEntry e = static_cast<KIO::StatJob*>(pJob)->statResult();
m_pFileAccess->setFromUdsEntry(e);
m_pFileAccess->setFromUdsEntry(e, m_pFileAccess);
}
ProgressProxy::exitEventLoop();
......
......@@ -107,7 +107,7 @@ class FileAccess
private:
friend class FileAccessJobHandler;
void setFromUdsEntry(const KIO::UDSEntry& e, FileAccess* parent = nullptr);
void setFromUdsEntry(const KIO::UDSEntry& e, FileAccess* parent);
void setStatusText(const QString& s);
void reset();
......
Markdown is supported
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