mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +02:00
Added missing unlock that was causing a hang.
This commit is contained in:
parent
4f4b4c08bb
commit
e066d552a0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue