| 17 | 
   | 
     ui->cbOniWindow->setChecked(this->vagoSettings->value("OniWindow").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 18 | 
   | 
     ui->cbSeparate->setChecked(this->vagoSettings->value("SeparateInWorkspace").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 19 | 
   | 
     ui->cbVagoExit->setChecked(this->vagoSettings->value("ConfirmExit").toBool()); | 
 
 
 
 
 
 
 
 
 | 20 | 
 + | 
 #ifdef Q_OS_MAC | 
 
 
 
 
 
 
 
 
 | 21 | 
 + | 
     ui->cbUseYesAsDefaultWhenRemovingItems->setChecked(this->vagoSettings->value("useYesAsDefaultWhenRemovingItems").toBool()); | 
 
 
 
 
 
 
 
 
 | 22 | 
 + | 
 #endif | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 24 | 
   | 
 #ifdef Q_OS_WIN | 
 
 
 
 
 
 
 
 
 
 
 
 | 25 | 
 < | 
     ui->cbClearButtonYes->hide(); // don't display this mac os only option in windows | 
 
 
 
 
 
 
 
 
 
 | 25 | 
 > | 
     ui->cbUseYesAsDefaultWhenRemovingItems->hide(); // don't display this mac os only option in windows | 
 
 
 
 
 
 
 
 
 
 
 
 | 26 | 
   | 
 #endif | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 27 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 28 | 
   | 
 } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 68 | 
   | 
     this->vagoSettings->setValue("SeparateInWorkspace",ui->cbSeparate->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 69 | 
   | 
     this->vagoSettings->setValue("ConfirmExit",ui->cbVagoExit->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 70 | 
   | 
 #ifdef Q_OS_MAC | 
 
 
 
 
 
 
 
 
 
 
 
 | 71 | 
 < | 
     this->vagoSettings->setValue("UseYesButtonClear",ui->cbClearButtonYes->isChecked()); | 
 
 
 
 
 
 
 
 
 
 | 71 | 
 > | 
     this->vagoSettings->setValue("useYesAsDefaultWhenRemovingItems",ui->cbUseYesAsDefaultWhenRemovingItems->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 | 72 | 
   | 
 #endif | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 73 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 74 | 
   | 
  |