Added a icon for download message box #4235

This commit is contained in:
Xinyu Hou 2014-11-28 10:54:51 +00:00
parent 216f0f160d
commit 581d4c5469
1 changed files with 1 additions and 0 deletions

View File

@ -1055,6 +1055,7 @@ void MainWindow::downloadBonjour()
if (m_DownloadMessageBox == NULL) { if (m_DownloadMessageBox == NULL) {
m_DownloadMessageBox = new QMessageBox(this); m_DownloadMessageBox = new QMessageBox(this);
m_DownloadMessageBox->setWindowTitle("Synergy"); m_DownloadMessageBox->setWindowTitle("Synergy");
m_DownloadMessageBox->setIcon(QMessageBox::Information);
m_DownloadMessageBox->setText("Installing Bonjour, please wait..."); 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(