Commit 51177675 authored by ck's avatar ck
Browse files

Maemo: Make deployment thread check for cancel request.

parent 781bdd24
......@@ -173,7 +173,7 @@ private:
void MaemoSftpConnection::transferFiles(const QList<SshDeploySpec> &deploySpecs)
{
for (int i = 0; i < deploySpecs.count(); ++i) {
for (int i = 0; i < deploySpecs.count() && !stopRequested(); ++i) {
const SshDeploySpec &deploySpec = deploySpecs.at(i);
const QString &curSrcFile = deploySpec.srcFilePath();
FileManager fileMgr(curSrcFile);
......
Supports Markdown
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