Showing the changes to interface/src/raypick/PointerScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -154,8 +154,8 @@ unsigned int PointerScriptingInterface::createLaserPointer(const QVariant& prope · 153 unmodified lines | ||
| 154 | 154 | QString jointName { "" }; |
| 155 | 155 | if (propertyMap["joint"].isValid()) { |
| 156 | 156 | QString jointName = propertyMap["joint"].toString(); |
| 157 | − QString mouseJoint { "Mouse" }; | |
| 158 | − if (jointName == mouseJoint) { | |
| 157 | + const QString MOUSE_JOINT = "Mouse"; | |
| 158 | + if (jointName == MOUSE_JOINT) { | |
| 159 | 159 | return PointerEvent::INVALID_POINTER_ID; |
| 160 | 160 | } |
| 161 | 161 | } |