--- Vago/trunk/Vago/preferences.cpp 2014/01/08 11:32:55 897 +++ Vago/trunk/Vago/preferences.cpp 2014/04/25 21:05:54 998 @@ -18,6 +18,10 @@ Preferences::Preferences(QWidget *parent ui->cbSeparate->setChecked(this->vagoSettings->value("SeparateInWorkspace").toBool()); ui->cbVagoExit->setChecked(this->vagoSettings->value("ConfirmExit").toBool()); +#ifdef Q_OS_WIN + ui->cbClearButtonYes->hide(); // don't display this mac os only option in windows +#endif + } Preferences::~Preferences() @@ -60,6 +64,10 @@ void Preferences::accept (){ this->vagoSettings->setValue("OniWindow",ui->cbOniWindow->isChecked()); 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()); +#endif + Util::showPopUp("You need to restart the application to all changes take effect.");