--- a/cmmanager/cpdestinationplugin/src/cpdestinationentryitem.cpp Thu Sep 02 20:50:05 2010 +0300
+++ b/cmmanager/cpdestinationplugin/src/cpdestinationentryitem.cpp Fri Sep 17 08:32:43 2010 +0300
@@ -187,10 +187,10 @@
if (mDestinationId != 0) {
CmDestinationShim *destination = mCmm->destination(mDestinationId);
CMManagerShim::CmmProtectionLevel level = destination->protectionLevel();
- if (level == CMManagerShim::ProtLevel3) {
+ if (level == CMManagerShim::ProtLevel1) {
+ apProtected = true;
+ } else {
apProtected = apList[i]->getBoolAttribute(CMManagerShim::CmProtected);
- } else if (level == CMManagerShim::ProtLevel1) {
- apProtected = true;
}
delete destination;
}