Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.1
-
Windows
-
ca7647e94748b499641e0800ee4aed158e89238b (qtactiveqt/5.5, 4.1.2016, 5.5.2)
Description
Code below should cut first three letters "set" from the beginning of the slotname. But it cuts slotname length - 3. That cause wrong result.
src/activeqt/container/qaxbase.cpp
3641 if (dispid == DISPID_UNKNOWN && slotname.toLower().startsWith("set")) { 3642 // see if we are calling a property set function as a slot 3643 slotname.remove(0, slotname.length() - 3); 3644 dispid = d->metaobj->dispIDofName(slotname, disp); 3645 isProperty = true; 3646 }
Should be:
3643 slotname.remove(0, 3);