Skip to content

Commit

Permalink
Rename update zeroconf mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinyu Hou committed Jul 31, 2015
1 parent 8a8f360 commit 94664e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ void MainWindow::changeEvent(QEvent* event)

void MainWindow::updateZeroconfService()
{
QMutexLocker locker(&m_Mutex);
QMutexLocker locker(&m_UpdateZeroconfMutex);

if (isBonjourRunning()) {
if (!m_AppConfig.wizardShouldRun()) {
Expand Down
2 changes: 1 addition & 1 deletion src/gui/src/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase
DataDownloader* m_pDataDownloader;
QMessageBox* m_DownloadMessageBox;
QAbstractButton* m_pCancelButton;
QMutex m_Mutex;
QMutex m_UpdateZeroconfMutex;
bool m_SuppressAutoConfigWarning;
CommandProcess* m_BonjourInstall;
bool m_SuppressEmptyServerWarning;
Expand Down

0 comments on commit 94664e4

Please sign in to comment.