Added missing unlock that was causing a hang.

This commit is contained in:
Andrzej Kapolka 2014-05-19 12:48:26 -07:00
parent 4f4b4c08bb
commit e066d552a0

View file

@ -351,6 +351,7 @@ bool ModelHandler::parseHeaders(QNetworkReply* reply) {
QList<QStandardItem*> items = _model.findItems(QFileInfo(reply->url().toString()).baseName());
if (items.isEmpty() || items.first()->text() == DO_NOT_MODIFY_TAG) {
_lock.unlock();
return false;
}