From f8fc435dd4df54296fe48acdaf96f5774b721e55 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 17 Jan 2012 09:15:46 +0100 Subject: Fix download settings application on rekonq config dialog Courtesy patch by "Wyatt", thanks!!! BUG:291726 REVIEWED-BY:adjam --- src/settings/generalwidget.cpp | 5 ++++- src/settings/generalwidget.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/settings') 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 +* Copyright (C) 2010-2012 by Andrea Diamantini * * * 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 +* Copyright (C) 2010-2012 by Andrea Diamantini * * * This program is free software; you can redistribute it and/or -- cgit v1.2.1