diff options
author | Robin Burchell <robin.burchell@collabora.com> | 2012-01-20 01:55:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-23 06:49:12 +0100 |
commit | fdedb49b76b8f9ad69611fbfea6b8371ae1ec3a1 (patch) | |
tree | 7521c06b368a6110ca1cbd9369df0d104dc97483 /tests/auto/widgets/widgets/qdoublespinbox/tst_qdoublespinbox.cpp | |
parent | 7827c1861f425886773fc6b4906bb0b6efbfa95c (diff) |
Blow up earlier when adding test rows without columns.
Previously, the assertation triggered was rather unhelpful:
QFATAL : tst_QHash::qhash_qt4() ASSERT: "d->dataCount <
d->parent->elementCount()" in file qtestdata.cpp, line 88"
We now try a bit harder to be user-friendly.
Change-Id: I2e3a5ae27914d44fc1dc89af2a084e3d798fe221
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
Reviewed-by: Giuseppe D'Angelo <dangelog@gmail.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/widgets/widgets/qdoublespinbox/tst_qdoublespinbox.cpp')
0 files changed, 0 insertions, 0 deletions