| 18 |  | ui->cbSeparate->setChecked(this->vagoSettings->value("SeparateInWorkspace").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 19 |  | ui->cbVagoExit->setChecked(this->vagoSettings->value("ConfirmExit").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 20 |  |  | 
 
 
 
 
 
 
 
 | 21 | + | #ifdef Q_OS_WIN | 
 
 
 
 
 
 
 
 | 22 | + | ui->cbClearButtonYes->hide(); // don't display this mac os only option in windows | 
 
 
 
 
 
 
 
 | 23 | + | #endif | 
 
 
 
 
 
 
 
 | 24 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 25 |  | } | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 26 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 27 |  | Preferences::~Preferences() | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 64 |  | this->vagoSettings->setValue("OniWindow",ui->cbOniWindow->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 65 |  | this->vagoSettings->setValue("SeparateInWorkspace",ui->cbSeparate->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 66 |  | this->vagoSettings->setValue("ConfirmExit",ui->cbVagoExit->isChecked()); | 
 
 
 
 
 
 
 
 | 67 | + | #ifdef Q_OS_MAC | 
 
 
 
 
 
 
 
 | 68 | + | this->vagoSettings->setValue("UseYesButtonClear",ui->cbClearButtonYes->isChecked()); | 
 
 
 
 
 
 
 
 | 69 | + | #endif | 
 
 
 
 
 
 
 
 | 70 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 71 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 72 |  | Util::showPopUp("You need to restart the application to all changes take effect."); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 73 |  |  |