Showing the changes to interface/src/InterfaceActionFactory.cpp (1 of 16 files). Show all
Unified · Split
| @@ -55,12 +55,12 @@ EntityActionPointer InterfaceActionFactory::factory(EntitySimulation* simulation · 54 unmodified lines | ||
| 55 | 55 | EntityActionPointer InterfaceActionFactory::factoryBA(EntitySimulation* simulation, |
| 56 | 56 | EntityItemPointer ownerEntity, |
| 57 | 57 | QByteArray data) { |
| 58 | − QDataStream ds(data); | |
| 58 | + QDataStream serializedArgumentStream(data); | |
| 59 | 59 | EntityActionType type; |
| 60 | 60 | QUuid id; |
| 61 | 61 | |
| 62 | − ds >> type; | |
| 63 | − ds >> id; | |
| 62 | + serializedArgumentStream >> type; | |
| 63 | + serializedArgumentStream >> id; | |
| 64 | 64 | |
| 65 | 65 | EntityActionPointer action = interfaceActionFactory(type, id, ownerEntity); |
| 66 | 66 | |