Make the reset button work

This commit is contained in:
Dawit Alemayehu 2012-09-28 00:54:38 -04:00
parent 41007b8873
commit bf9448c422
2 changed files with 9 additions and 0 deletions

View file

@ -72,6 +72,14 @@ void KCookiesMain::save()
management->save();
}
void KCookiesMain::load()
{
policies->load();
if (management)
management->load();
}
void KCookiesMain::defaults()
{
KCModule* module = static_cast<KCModule*> (tab->currentWidget());

View file

@ -26,6 +26,7 @@ public:
KCookiesPolicies* policyDlg() { return policies; }
virtual void save();
virtual void load();
virtual void defaults();
virtual QString quickHelp() const;