diff --git a/src/mirall/folder.cpp b/src/mirall/folder.cpp index b54e9480e6..823b84a072 100644 --- a/src/mirall/folder.cpp +++ b/src/mirall/folder.cpp @@ -561,7 +561,6 @@ void Folder::startSync(const QStringList &pathList) qDebug() << "*** Start syncing"; _thread = new QThread(this); - _thread->setPriority(QThread::LowPriority); setIgnoredFiles(); _csync = new CSyncThread( _csync_ctx ); _csync->moveToThread(_thread); @@ -584,6 +583,7 @@ void Folder::startSync(const QStringList &pathList) connect(_csync, SIGNAL(transmissionProgress(Progress::Info)), this, SLOT(slotTransmissionProgress(Progress::Info))); _thread->start(); + _thread->setPriority(QThread::LowPriority); QMetaObject::invokeMethod(_csync, "startSync", Qt::QueuedConnection); // disable events until syncing is done