Commit 243a6771 authored by Fawzi Mohamed's avatar Fawzi Mohamed

zeroconf: fix wrong QMutexLocker usage

Replacing function declaration with local variable definition.

Change-Id: I8fd9be2bd83bab9a61c93361ce1da517315f0495
Reviewed-by: default avatarBill King <bill.king@nokia.com>
parent 1f9e7c04
......@@ -1419,7 +1419,7 @@ void MainConnection::createConnection()
} else {
QList<ServiceBrowserPrivate *> waitingBrowsers;
{
QMutexLocker(lock());
QMutexLocker l(lock());
waitingBrowsers = m_browsers;
increaseStatusTo(Running);
}
......
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