#include "copydirthread.h" #include CopyDirThread::CopyDirThread() { connect(this, &CopyDirThread::finished, this, &CopyDirThread::deleteLater); } void CopyDirThread::run() { for(; i