phonesettings/cpphonesettingsplugins/barringplugin/src/cpbarringplugingroup.cpp
changeset 74 d1c62c765e48
parent 65 2a5d4ab426d3
--- a/phonesettings/cpphonesettingsplugins/barringplugin/src/cpbarringplugingroup.cpp	Fri Sep 03 13:33:36 2010 +0300
+++ b/phonesettings/cpphonesettingsplugins/barringplugin/src/cpbarringplugingroup.cpp	Fri Sep 17 17:09:12 2010 +0300
@@ -24,6 +24,7 @@
 #include <psetwrapper.h>
 #include <psetcallbarringwrapper.h>
 #include <psuinotes.h>
+#include <nwdefs.h>
 #include "cpbarringplugingroup.h"
 #include "cpplugincommon.h"
 #include "cppluginlogging.h"
@@ -517,12 +518,14 @@
         QVariant checkState = m_clickedBarringItem->contentWidgetData("checkState");
         if (Qt::Checked == checkState.toInt()) {
             m_barringWrapper->enableBarring(
+                EAllTeleAndBearer,
                 ServiceGroupVoice,
                 qvariant_cast<PSetCallBarringWrapper::BarringType>(
                     m_clickedBarringItem->contentWidgetData("barringType")),
                 barringPassword);
         } else {
             m_barringWrapper->disableBarring(
+                EAllTeleAndBearer,
                 ServiceGroupVoice,
                 qvariant_cast<PSetCallBarringWrapper::BarringType>(
                     m_clickedBarringItem->contentWidgetData("barringType")),