zeroconf: fix wrong QMutexLocker usage
zeroconf: fix wrong QMutexLocker usage

Replacing function declaration with local variable definition.

Change-Id: I8fd9be2bd83bab9a61c93361ce1da517315f0495
Reviewed-by: Bill King <2ab503764bfba23a6f2e273493fc021dc3d4cd8f@nokia.com>

bakaiadam/collaborative_qt_creator,syntheticpp/qt-creator,darksylinc/qt-creator,malikcjm/qtcreator,azat/qtcreator,bakaiadam/collaborative_qt_creator,colede/qtcreator,hdweiss/qt-creator-visualizer,danimo/qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,syntheticpp/qt-creator,KDE/android-qt-creator,xianian/qt-creator,hdweiss/qt-creator-visualizer,danimo/qt-creator,KDAB/KDAB-Creator,colede/qtcreator,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,omniacreator/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,duythanhphan/qt-creator,omniacreator/qtcreator,xianian/qt-creator,colede/qtcreator,omniacreator/qtcreator,ostash/qt-creator-i18n-uk,bakaiadam/collaborative_qt_creator,Distrotech/qtcreator,farseerri/git_code,colede/qtcreator,farseerri/git_code,colede/qtcreator,Distrotech/qtcreator,amyvmiwei/qt-creator,maui-packages/qt-creator,jonnor/qt-creator,maui-packages/qt-creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,richardmg/qtcreator,danimo/qt-creator,azat/qtcreator,hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,kuba1/qtcreator,omniacreator/qtcreator,malikcjm/qtcreator,martyone/sailfish-qtcreator,farseerri/git_code,colede/qtcreator,xianian/qt-creator,jonnor/qt-creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,ostash/qt-creator-i18n-uk,xianian/qt-creator,KDAB/KDAB-Creator,jonnor/qt-creator,malikcjm/qtcreator,KDE/android-qt-creator,danimo/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,maui-packages/qt-creator,azat/qtcreator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,azat/qtcreator,xianian/qt-creator,malikcjm/qtcreator,richardmg/qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,KDE/android-qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,duythanhphan/qt-creator,malikcjm/qtcreator,Distrotech/qtcreator,omniacreator/qtcreator,ostash/qt-creator-i18n-uk,ostash/qt-creator-i18n-uk,amyvmiwei/qt-creator,darksylinc/qt-creator,syntheticpp/qt-creator,darksylinc/qt-creator,xianian/qt-creator,kuba1/qtcreator,danimo/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,duythanhphan/qt-creator,danimo/qt-creator,darksylinc/qt-creator,duythanhphan/qt-creator,danimo/qt-creator,jonnor/qt-creator,martyone/sailfish-qtcreator,KDE/android-qt-creator,maui-packages/qt-creator,syntheticpp/qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,KDAB/KDAB-Creator,xianian/qt-creator,omniacreator/qtcreator,azat/qtcreator,farseerri/git_code,colede/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,omniacreator/qtcreator,ostash/qt-creator-i18n-uk,farseerri/git_code,syntheticpp/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,richardmg/qtcreator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,richardmg/qtcreator,martyone/sailfish-qtcreator,hdweiss/qt-creator-visualizer,ostash/qt-creator-i18n-uk,xianian/qt-creator,amyvmiwei/qt-creator,jonnor/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,richardmg/qtcreator,KDAB/KDAB-Creator,KDAB/KDAB-Creator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,KDE/android-qt-creator,KDE/android-qt-creator,farseerri/git_code,jonnor/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,bakaiadam/collaborative_qt_creator,hdweiss/qt-creator-visualizer,azat/qtcreator,malikcjm/qtcreator