LimeReport
LimeReport copied to clipboard
When executing the designReport() function, if there are more controls in my template, it will crash.
"The stack error shows an array out of bounds."
QList<CompleterItem > CompleterModel::findItems(const QString &text, Qt::MatchFlags flags, int column) const { QModelIndexList indexes = match(index(0, column, QModelIndex()), Qt::DisplayRole, text, -1, flags); QList<CompleterItem> items; const int numIndexes = indexes.size(); items.reserve(numIndexes); for (int i = 0; i < numIndexes; ++i) items.append(itemFromIndex(indexes.at(i))); return items; }
Hi, could you send me an example