Commit d6a91eee authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Fix another endless loop

parent da5e3e4d
......@@ -248,9 +248,11 @@ void Backend::setStatus(Backend::Status s, QObject * cO, const char * cS)
lockinfo.l_start = 0;
lockinfo.l_len = 0;
if (fcntl(d->lockFileHandle->handle(), F_SETLK, &lockinfo) == -1) {
akabeiDebug() << "No lock for us!";
connect(&d->lockWatcher, SIGNAL(finished()), this, SLOT(__k__lockGranted()));//TODO: Check if this works!!!!!
QFuture<void> lockF = QtConcurrent::run(d, &BackendPrivate::getLock);
Markdown is supported
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