X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcopy.cpp;h=0607b5de5b0d59c0bb3c285f9e0e48fee48eb80c;hb=9976a7bdf0e53966dce4bc828a37eb42de0223e3;hp=1f764dc038045575bb526c44939fcad4ac72add5;hpb=f1c967215e6b08095bdf07518472beca3067ec37;p=builder.git diff --git a/source/copy.cpp b/source/copy.cpp index 1f764dc..0607b5d 100644 --- a/source/copy.cpp +++ b/source/copy.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #include "builder.h" #include "copy.h" @@ -25,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()) {