connectionmonitoring/cellularindicatorplugin/src/cellularindicatorplugin.cpp
changeset 72 0c32cf868819
parent 44 a0c4ceac30d0
equal deleted inserted replaced
71:9f263f780e41 72:0c32cf868819
   194             }
   194             }
   195             
   195             
   196             if ( (indicatorInfo[0].toInt() > 1) && indicatorInfo.count() ) {
   196             if ( (indicatorInfo[0].toInt() > 1) && indicatorInfo.count() ) {
   197                 
   197                 
   198                 // More than one connection -> show number of connections
   198                 // More than one connection -> show number of connections
   199                 QString str = QString(hbTrId("txt_occ_dblist_cellular_data_val_l1_connections"));
   199                 int count = indicatorInfo[0].toInt();
   200                 ret = str.arg(indicatorInfo[0].toInt());
   200                 ret = QString( hbTrId("txt_occ_dblist_cellular_data_val_l1_connections", count ) );
   201             }
   201             }
   202             else if ( indicatorInfo[0].toInt() && (indicatorInfo.count() >= 2)) {
   202             else if ( indicatorInfo[0].toInt() && (indicatorInfo.count() >= 2)) {
   203                 
   203                 
   204                 // Only one connection -> show name of the iap
   204                 // Only one connection -> show name of the iap
   205                 ret = indicatorInfo[1].toString();
   205                 ret = indicatorInfo[1].toString();