summaryrefslogtreecommitdiff
path: root/package/config/qconf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/qconf.cc')
-rw-r--r--package/config/qconf.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/config/qconf.cc b/package/config/qconf.cc
index 0fe8fd435..bbda3c811 100644
--- a/package/config/qconf.cc
+++ b/package/config/qconf.cc
@@ -1612,7 +1612,6 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
{
if (!conf_get_changed()) {
e->accept();
- conf_write_autoconf();
return;
}
QMessageBox mb("qconf", _("Save configuration?"), QMessageBox::Warning,
@@ -1623,7 +1622,6 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
switch (mb.exec()) {
case QMessageBox::Yes:
conf_write(NULL);
- conf_write_autoconf();
case QMessageBox::No:
e->accept();
break;