Description
QSafeLayoutFileReader function in the QSafeLayoutFileReader.cpp
Input: QML file with 128 images, each having 8 states. Indicators example used as a basis.
Original code: //static quint8 layoutDataArray[(Constraints::MAX_ITEM_COUNT)*(Constraints::LAYOUTDATA_SIZE_V2+Constraints::LAYOUTDATA_HEADER_SIZE)]; Modified hack: static quint8 layoutDataArray[(2*Constraints::MAX_ITEM_COUNT)*(Constraints::LAYOUTDATA_SIZE_V2)+Constraints::LAYOUTDATA_HEADER_SIZE];