~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to kde/src/conf/dlggeneral.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
//SFLPhone
31
31
#include "klib/kcfg_settings.h"
32
32
#include "conf/configurationdialog.h"
33
 
#include "lib/dbus/configurationmanager.h"
34
33
#include "lib/historymodel.h"
35
34
 
36
35
///Constructor
84
83
 
85
84
void DlgGeneral::slotClearCallHistoryAsked()
86
85
{
87
 
   const int ret = KMessageBox::questionYesNo(this, i18n("Are you sure you want to clear history?"), i18n("Clear history"));
88
 
   if (ret == KMessageBox::Yes) {
89
 
      ConfigurationManagerInterface& configurationManager = DBus::ConfigurationManager::instance();
90
 
      configurationManager.clearHistory();
91
 
   }
 
86
   HistoryModel::instance()->clearAllBackends();
92
87
}