From 20db8d55af7d939824fbc79563b5fd4829c4ee4b Mon Sep 17 00:00:00 2001 From: Xinyu Hou Date: Thu, 20 Nov 2014 11:41:17 +0000 Subject: [PATCH] Modified and centered install Bonjour msgbox --- src/gui/src/MainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index 551ad67b..5fdfbd0d 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -1026,8 +1026,8 @@ void MainWindow::downloadBonjour() connect(m_pDataDownloader, SIGNAL(downloaded()), SLOT(installBonjour())); if (m_DownloadMessageBox == NULL) { - m_DownloadMessageBox = new QMessageBox(); - m_DownloadMessageBox->setText("Installing Bonjour"); + m_DownloadMessageBox = new QMessageBox(this); + m_DownloadMessageBox->setText("Installing Bonjour, please wait..."); m_DownloadMessageBox->setStandardButtons(0); m_pCancelButton = m_DownloadMessageBox->addButton( tr("Cancel"), QMessageBox::RejectRole);