diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2019-05-16 00:15:40 +0200 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2019-05-16 06:48:37 +0000 |
commit | 895db969a5b21c88f7b488c9e466d8332f5d392e (patch) | |
tree | cc7880e0d2cd9b4e6a4d08389f092d16d296b5ac /qmake/doc | |
parent | 264e66afb2739b502464e6ed972207bd3ea89d22 (diff) |
doc: improve QStandardItemModel code snippet
The snippet currently uses hard coded values for looping which
is not good practice. This patch fixes this using rowCount and
columnCount.
Change-Id: Ie532649353f757843426a18e9a50b86a2278f7a5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'qmake/doc')
0 files changed, 0 insertions, 0 deletions