dont mark found services with newFlags when "remove existing services" was
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Aug 2007 13:36:22 +0000 (13:36 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 8 Aug 2007 13:36:22 +0000 (13:36 +0000)
selected

lib/dvb/scan.cpp

index d19716a..e2bf621 100644 (file)
@@ -680,7 +680,8 @@ void eDVBScan::insertInto(iDVBChannelList *db, bool dontRemoveOldFlags)
                else
                {
                        db->addService(service->first, service->second);
-                       service->second->m_flags |= eDVBService::dxNewFound;
+                       if (!(m_flags & scanRemoveServices))
+                               service->second->m_flags |= eDVBService::dxNewFound;
                }
        }
 }