| 16 |  | ui->leHeight->setText(this->vagoSettings->value("WindowHeight").toString()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 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()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 19 | > | ui->cbAskSaveProject->setChecked(this->vagoSettings->value("AskSaveProject").toBool()); | 
 
 
 
 
 | 20 | > | ui->cbAskOpenLastProject->setChecked(this->vagoSettings->value("AskToOpenLastProject").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 | 21 |  | #ifdef Q_OS_MAC | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 22 |  | ui->cbUseYesAsDefaultWhenRemovingItems->setChecked(this->vagoSettings->value("useYesAsDefaultWhenRemovingItems").toBool()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 |  | #endif | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 67 |  | this->vagoSettings->setValue("WindowHeight",ui->leHeight->text()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 68 |  | this->vagoSettings->setValue("OniWindow",ui->cbOniWindow->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 69 |  | this->vagoSettings->setValue("SeparateInWorkspace",ui->cbSeparate->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 | 70 | < | this->vagoSettings->setValue("ConfirmExit",ui->cbVagoExit->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 70 | > | this->vagoSettings->setValue("AskSaveProject",ui->cbAskSaveProject->isChecked()); | 
 
 
 
 
 | 71 | > | this->vagoSettings->setValue("AskToOpenLastProject",ui->cbAskOpenLastProject->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 | 72 |  | #ifdef Q_OS_MAC | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 73 |  | this->vagoSettings->setValue("useYesAsDefaultWhenRemovingItems",ui->cbUseYesAsDefaultWhenRemovingItems->isChecked()); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 74 |  | #endif | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 75 |  |  | 
 
 
 
 
 
 
 
 
 | 74 | – |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 76 |  | Util::showPopUp("You need to restart the application to all changes take effect."); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 77 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 78 |  | QDialog::accept(); |