diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-17 09:15:46 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-17 09:15:46 +0100 |
commit | f8fc435dd4df54296fe48acdaf96f5774b721e55 (patch) | |
tree | d6b964e77cb9db05d93b6e6f8c3dab4a9ed0866e /src/settings/generalwidget.cpp | |
parent | rekonq 0.8.60 (diff) | |
download | rekonq-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/settings/generalwidget.cpp')
-rw-r--r-- | src/settings/generalwidget.cpp | 5 |
1 files changed, 4 insertions, 1 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; } |