summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
authorJacek Całusiński <forger@forger.pl>2015-04-24 11:26:01 +0200
committerGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-04-27 16:14:17 +0000
commit0635b1a69dd666f5eed4b096895bd80b1a9420ff (patch)
treeca27e1bf90db814103d5356bd33e38770b1418ee /src/printsupport
parent2886935f96e5f817ba3d4b62dbc78bd722123c1f (diff)
Moc: test if superclass list is not empty before accessing first()
Accessing QList().first() with an empty superclassList caused assertion fail. Added check to fix it. Change-Id: I1aff35e0d267fc0e670beadba1bd196b175a4da8 Co-authored-with: Olivier Goffart <ogoffart@woboq.com> Task-number: QTBUG-45790 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/printsupport')
0 files changed, 0 insertions, 0 deletions