--- Vago/trunk/Vago/preferences.cpp 2014/04/25 21:05:54 998 +++ Vago/trunk/Vago/preferences.cpp 2014/04/26 12:40:47 999 @@ -17,9 +17,12 @@ Preferences::Preferences(QWidget *parent ui->cbOniWindow->setChecked(this->vagoSettings->value("OniWindow").toBool()); ui->cbSeparate->setChecked(this->vagoSettings->value("SeparateInWorkspace").toBool()); ui->cbVagoExit->setChecked(this->vagoSettings->value("ConfirmExit").toBool()); +#ifdef Q_OS_MAC + ui->cbUseYesAsDefaultWhenRemovingItems->setChecked(this->vagoSettings->value("useYesAsDefaultWhenRemovingItems").toBool()); +#endif #ifdef Q_OS_WIN - ui->cbClearButtonYes->hide(); // don't display this mac os only option in windows + ui->cbUseYesAsDefaultWhenRemovingItems->hide(); // don't display this mac os only option in windows #endif } @@ -65,7 +68,7 @@ void Preferences::accept (){ this->vagoSettings->setValue("SeparateInWorkspace",ui->cbSeparate->isChecked()); this->vagoSettings->setValue("ConfirmExit",ui->cbVagoExit->isChecked()); #ifdef Q_OS_MAC - this->vagoSettings->setValue("UseYesButtonClear",ui->cbClearButtonYes->isChecked()); + this->vagoSettings->setValue("useYesAsDefaultWhenRemovingItems",ui->cbUseYesAsDefaultWhenRemovingItems->isChecked()); #endif