Commit 36beec0c authored by Andrius Štikonas's avatar Andrius Štikonas
Browse files

Fix clang warning and processedAmount deprecation notice.

parent 56be4b3f
......@@ -151,7 +151,7 @@ void MoveDataFilesJob::startMoving()
active_dst = i.value();
Out(SYS_GEN | LOG_DEBUG) << "Moving " << active_src << " -> " << active_dst << endl;
connect(active_job, &KIO::Job::result, this, &MoveDataFilesJob::onJobDone);
connect(active_job, qOverload<KJob *, KJob::Unit, qulonglong>(&KIO::Job::processedAmount), this, &MoveDataFilesJob::onTransferred);
connect(active_job, &KIO::Job::processedAmountChanged, this, &MoveDataFilesJob::onTransferred);
connect(active_job, &KIO::Job::speed, this, &MoveDataFilesJob::onSpeed);
todo.erase(i);
......
......@@ -29,7 +29,7 @@
namespace utp
{
class Header;
struct Header;
/**
* Special packet buffer for UTP packets
......
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