Browse Source

fix: build on debian 10.6

master
parent
commit
03cd4e3af7
  1. 4
      ext/qcodeedit/lib/document/qdocumentline.cpp

4
ext/qcodeedit/lib/document/qdocumentline.cpp

@ -200,7 +200,7 @@ QDocumentLine& QDocumentLine::operator = (const QDocumentLine& l)
*/
QDocument* QDocumentLine::document() const
{
return m_handle ? m_handle->document() : 0;
return m_handle ? m_handle->document() : 0;
}
/*!
@ -260,7 +260,7 @@ bool QDocumentLine::isNull() const
*/
bool QDocumentLine::isValid() const
{
return m_handle ? m_handle->document() : false;
return m_handle ? m_handle->document() != NULL : false;
}
/*!

Loading…
Cancel
Save