Rename update zeroconf mutex

This commit is contained in:
Xinyu Hou 2015-07-29 14:31:47 -07:00 committed by Jerry (Xinyu Hou)
parent 8a8f3601c4
commit 94664e413b
2 changed files with 2 additions and 2 deletions

View File

@ -939,7 +939,7 @@ void MainWindow::changeEvent(QEvent* event)
void MainWindow::updateZeroconfService() void MainWindow::updateZeroconfService()
{ {
QMutexLocker locker(&m_Mutex); QMutexLocker locker(&m_UpdateZeroconfMutex);
if (isBonjourRunning()) { if (isBonjourRunning()) {
if (!m_AppConfig.wizardShouldRun()) { if (!m_AppConfig.wizardShouldRun()) {

View File

@ -201,7 +201,7 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase
DataDownloader* m_pDataDownloader; DataDownloader* m_pDataDownloader;
QMessageBox* m_DownloadMessageBox; QMessageBox* m_DownloadMessageBox;
QAbstractButton* m_pCancelButton; QAbstractButton* m_pCancelButton;
QMutex m_Mutex; QMutex m_UpdateZeroconfMutex;
bool m_SuppressAutoConfigWarning; bool m_SuppressAutoConfigWarning;
CommandProcess* m_BonjourInstall; CommandProcess* m_BonjourInstall;
bool m_SuppressEmptyServerWarning; bool m_SuppressEmptyServerWarning;