From 1eef93b68606f0e737f4bb9fd05ca1b44846e292 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 15 Jan 2015 16:35:11 +0300 Subject: [PATCH] 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 6c55ddfbe8ae234f26bea96509698e9c300909f6) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/55bf8603c9ca7b949e4cb09dc82c41b2ede3a3fe Author: [CST] Focus Date: 2015-01-15 (Thu, 15 Jan 2015) ------------------ This commit was generated by Migit --- src/zapit/src/bouquets.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index 6da5ebbf9..54a826805 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -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); }