Return if header is 0.
QT-BUG: 184868 Change-Id: Iff041c66fdfb2267e0349bdd47fec0fe63b1799d Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>bb10
parent
38f521b0bd
commit
642867d2dd
|
|
@ -764,6 +764,8 @@ QRect QAccessibleTableHeaderCell::rect() const
|
|||
header = tv->header();
|
||||
#endif
|
||||
}
|
||||
if (!header)
|
||||
return QRect();
|
||||
QPoint zero = header->mapToGlobal(QPoint(0, 0));
|
||||
int sectionSize = header->sectionSize(index);
|
||||
int sectionPos = header->sectionPosition(index);
|
||||
|
|
|
|||
Loading…
Reference in New Issue