contentstorage/caclient/src/caservice.cpp
changeset 98 d2f833ab7940
parent 96 5d243a69bdda
child 99 7aaf39b772ac
--- a/contentstorage/caclient/src/caservice.cpp	Tue Jun 01 11:30:17 2010 +0300
+++ b/contentstorage/caclient/src/caservice.cpp	Fri Jun 11 16:13:51 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);
     }