Modified and centered install Bonjour msgbox
This commit is contained in:
parent
ec4ef549bb
commit
20db8d55af
|
@ -1026,8 +1026,8 @@ void MainWindow::downloadBonjour()
|
||||||
connect(m_pDataDownloader, SIGNAL(downloaded()), SLOT(installBonjour()));
|
connect(m_pDataDownloader, SIGNAL(downloaded()), SLOT(installBonjour()));
|
||||||
|
|
||||||
if (m_DownloadMessageBox == NULL) {
|
if (m_DownloadMessageBox == NULL) {
|
||||||
m_DownloadMessageBox = new QMessageBox();
|
m_DownloadMessageBox = new QMessageBox(this);
|
||||||
m_DownloadMessageBox->setText("Installing Bonjour");
|
m_DownloadMessageBox->setText("Installing Bonjour, please wait...");
|
||||||
m_DownloadMessageBox->setStandardButtons(0);
|
m_DownloadMessageBox->setStandardButtons(0);
|
||||||
m_pCancelButton = m_DownloadMessageBox->addButton(
|
m_pCancelButton = m_DownloadMessageBox->addButton(
|
||||||
tr("Cancel"), QMessageBox::RejectRole);
|
tr("Cancel"), QMessageBox::RejectRole);
|
||||||
|
|
Loading…
Reference in New Issue