Skip to content

Commit

Permalink
Merge branch 'kbuild/kconfig-for-40' into kbuild/kconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
michal42 committed May 25, 2011
2 parents 4c54f0f + d49e468 commit ac9a126
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/kconfig/qconf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1489,8 +1489,7 @@ void ConfigMainWindow::saveConfigAs(void)
QString s = Q3FileDialog::getSaveFileName(conf_get_configname(), NULL, this);
if (s.isNull())
return;
if (conf_write(QFile::encodeName(s)))
QMessageBox::information(this, "qconf", _("Unable to save configuration!"));
saveConfig();
}

void ConfigMainWindow::searchConfig(void)
Expand Down Expand Up @@ -1643,7 +1642,7 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
mb.setButtonText(QMessageBox::Cancel, _("Cancel Exit"));
switch (mb.exec()) {
case QMessageBox::Yes:
conf_write(NULL);
saveConfig();
case QMessageBox::No:
e->accept();
break;
Expand Down

0 comments on commit ac9a126

Please sign in to comment.