branch | qmlfrontend |
changeset 11437 | 6e641b5453f9 |
parent 11435 | 28fb618d99c4 |
child 11439 | dd1350a475d9 |
--- a/qmlFrontend/hwengine.cpp Tue Dec 01 19:49:59 2015 +0300 +++ b/qmlFrontend/hwengine.cpp Tue Dec 01 23:37:10 2015 +0300 @@ -206,6 +206,8 @@ } case MSG_REMOVELOBBYCLIENT: { QStringList l = QString::fromUtf8(msg).split('\n'); + if(l.size() < 2) + l.append(""); emit lobbyClientRemoved(l[0], l[1]); break; } @@ -296,6 +298,10 @@ emit templateChanged(msg.toInt()); break; } + case MSG_AMMO: { + emit ammoChanged(QString::fromUtf8(msg)); + break; + } } }