zapit/src/bouquets.cpp: set channel user name also for non-present channels,

else username is lost after any ubouquets.xml save.
(fix for commit 6c55ddfbe8)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 55bf8603c9
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-01-15 (Thu, 15 Jan 2015)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2015-01-15 16:35:11 +03:00
parent 65141df5ed
commit 1eef93b686

View File

@@ -452,6 +452,8 @@ void CBouquetManager::parseBouquetsXml(const char *fname, bool bUser)
CServiceManager::getInstance()->AddChannel(chan);
chan->flags = CZapitChannel::NOT_FOUND;
chan->bLocked = clock;
if(!(uname.empty()))
chan->setUserName(uname);
newBouquet->addService(chan);
CServiceManager::getInstance()->SetServicesChanged(false);
}