summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-17 09:15:46 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-17 09:15:46 +0100
commitf8fc435dd4df54296fe48acdaf96f5774b721e55 (patch)
treed6b964e77cb9db05d93b6e6f8c3dab4a9ed0866e /src
parentrekonq 0.8.60 (diff)
downloadrekonq-f8fc435dd4df54296fe48acdaf96f5774b721e55.tar.xz
Fix download settings application on rekonq config dialog
Courtesy patch by "Wyatt", thanks!!! BUG:291726 REVIEWED-BY:adjam
Diffstat (limited to 'src')
-rw-r--r--src/settings/generalwidget.cpp5
-rw-r--r--src/settings/generalwidget.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/settings/generalwidget.cpp b/src/settings/generalwidget.cpp
index cdadbd81..226c11c9 100644
--- a/src/settings/generalwidget.cpp
+++ b/src/settings/generalwidget.cpp
@@ -2,7 +2,7 @@
*
* This file is a part of the rekonq project
*
-* Copyright (C) 2010-2011 by Andrea Diamantini <adjam7 at gmail dot com>
+* Copyright (C) 2010-2012 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
* This program is free software; you can redistribute it and/or
@@ -68,6 +68,7 @@ GeneralWidget::GeneralWidget(QWidget *parent)
kcfg_downloadPath->setEnabled(!ReKonfig::askDownloadPath());
connect(askDownloadNo, SIGNAL(toggled(bool)), kcfg_downloadPath, SLOT(setEnabled(bool)));
+ connect(askDownloadNo, SIGNAL(toggled(bool)), this, SLOT(hasChanged()));
}
@@ -78,6 +79,8 @@ void GeneralWidget::save()
KConfigGroup cg = KConfigGroup(KSharedConfig::openConfig("kioslaverc", KConfig::NoGlobals), QString());
cg.writeEntry("DoNotTrack", doNotTrackCheckBox->isChecked());
cg.sync();
+
+ _changed = false;
}
diff --git a/src/settings/generalwidget.h b/src/settings/generalwidget.h
index 2dfbaf58..3170f7b2 100644
--- a/src/settings/generalwidget.h
+++ b/src/settings/generalwidget.h
@@ -2,7 +2,7 @@
*
* This file is a part of the rekonq project
*
-* Copyright (C) 2010-2011 by Andrea Diamantini <adjam7 at gmail dot com>
+* Copyright (C) 2010-2012 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
* This program is free software; you can redistribute it and/or