/***************************************************************************
- * Copyright (C) 2005-2015 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
_status = status;
SYNC(ARG(status));
emit statusChanged(status);
+ if (status == Status::Completed || status == Status::Failed) {
+ cleanUp();
+ }
}
}
qWarning() << Q_FUNC_INFO << errorString;
emit error(errorString);
setStatus(Status::Failed);
- cleanUp();
}