use empty() instead of size()

This commit is contained in:
satbaby
2012-06-18 16:57:44 +02:00
parent 41f365f308
commit 7d8d995046
8 changed files with 16 additions and 16 deletions

View File

@@ -253,7 +253,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
g_Zapit->setScanBouquetMode( (CZapitClient::bouquetMode)scansettings.bouquetMode);
/* send satellite list to zapit */
if(satList.size())
if(!satList.empty())
g_Zapit->setScanSatelliteList( satList);
tuned = -1;