contentstorage/caclient/src/caservice.cpp
changeset 103 b99b84bcd2d1
parent 83 156f692b1687
child 104 9b022b1f357c
--- a/contentstorage/caclient/src/caservice.cpp	Fri Jun 11 13:58:37 2010 +0300
+++ b/contentstorage/caclient/src/caservice.cpp	Wed Jun 23 18:33:40 2010 +0300
@@ -973,7 +973,8 @@
  \param entryIdList list of entry ids
  \retval list of entries (pointers)
  */
-QList< QSharedPointer<CaEntry> > CaServicePrivate::getEntries(const QList<int> &entryIdList) const
+QList< QSharedPointer<CaEntry> > CaServicePrivate::getEntries(
+    const QList<int> &entryIdList) const
 {
     qDebug() << "CaServicePrivate::getEntries"
              << "entryIdList:" << entryIdList;
@@ -1338,6 +1339,10 @@
 
     CACLIENTTEST_FUNC_ENTRY("CaServicePrivate::executeCommand");
 
+    if (entry.flags() & UninstallEntryFlag) {
+        return false;
+    }    
+    
     if (command == caCmdOpen) {
         touch(entry);
     }