QTextObject: One more 0 to nullptr conversion
Change-Id: I61446afa882304400d3ae8045e4f17bb7a020600 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
This commit is contained in:
parent
e96cea51da
commit
a776d6ec5b
@ -1322,7 +1322,7 @@ QTextList *QTextBlock::textList() const
|
||||
QTextBlockUserData *QTextBlock::userData() const
|
||||
{
|
||||
if (!p || !n)
|
||||
return 0;
|
||||
return nullptr;
|
||||
|
||||
const QTextBlockData *b = p->blockMap().fragment(n);
|
||||
return b->userData;
|
||||
|
Loading…
x
Reference in New Issue
Block a user