X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=0607b5de5b0d59c0bb3c285f9e0e48fee48eb80c;hb=9976a7bdf0e53966dce4bc828a37eb42de0223e3;hp=8d18ec8001279403bc827926da8203e507671f28;hpb=0f12a599f28748cef9c09dfb7a3b018b29ade6df;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index 8d18ec8..0607b5d 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -26,7 +26,10 @@ Copy::Copy(Builder &b, const Package &pkg, const Path::Path &s, const Path::Path int Copy::check() { if(!worker) + { + signal_done.emit(); return 0; + } if(worker->get_done()) {