qmlFrontend/hwengine.cpp
branchqmlfrontend
changeset 11440 28fb618d99c4
parent 11439 23912c93935a
child 11442 6e641b5453f9
equal deleted inserted replaced
11439:23912c93935a 11440:28fb618d99c4
   218         emit roomClientAdded(QString::fromUtf8(msg));
   218         emit roomClientAdded(QString::fromUtf8(msg));
   219         break;
   219         break;
   220     }
   220     }
   221     case MSG_REMOVEROOMCLIENT: {
   221     case MSG_REMOVEROOMCLIENT: {
   222         QStringList l = QString::fromUtf8(msg).split('\n');
   222         QStringList l = QString::fromUtf8(msg).split('\n');
       
   223         if(l.size() < 2)
       
   224             l.append("");
   223         emit roomClientRemoved(l[0], l[1]);
   225         emit roomClientRemoved(l[0], l[1]);
   224         break;
   226         break;
   225     }
   227     }
   226     case MSG_ROOMCHATLINE: {
   228     case MSG_ROOMCHATLINE: {
   227         QStringList l = QString::fromUtf8(msg).split('\n');
   229         QStringList l = QString::fromUtf8(msg).split('\n');