Changed message box types

This commit is contained in:
Xinyu Hou 2014-11-20 12:22:03 +00:00
parent a289c1cbe3
commit 5833b434ef
1 changed files with 2 additions and 2 deletions

View File

@ -940,7 +940,7 @@ void MainWindow::on_m_pButtonApply_clicked()
void MainWindow::on_m_pCheckBoxAutoConnect_toggled(bool checked)
{
if (!isBonjourRunning() && checked) {
int r = QMessageBox::warning(
int r = QMessageBox::information(
this, tr("Synergy"),
tr("Auto connect feature requires Bonjour installed.\n\n"
"Do you want to install Bonjour?"),
@ -1072,7 +1072,7 @@ void MainWindow::installBonjour()
void MainWindow::promptAutoConnect()
{
int r = QMessageBox::warning(
int r = QMessageBox::question(
this, tr("Synergy"),
tr("Do you want to enable auto connect?\n\n"
"This feature helps you establish the connection."),