Fix warning for -no-feature-texthtmlparser
Change-Id: I6dd6e80a546a76ce3717855ebacb188254fe70d6 Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>bb10
parent
d285409674
commit
acc0ad7883
|
|
@ -408,6 +408,8 @@ QTextDocumentFragment QTextDocumentFragment::fromPlainText(const QString &plainT
|
|||
return res;
|
||||
}
|
||||
|
||||
#ifndef QT_NO_TEXTHTMLPARSER
|
||||
|
||||
static QTextListFormat::Style nextListStyle(QTextListFormat::Style style)
|
||||
{
|
||||
if (style == QTextListFormat::ListDisc)
|
||||
|
|
@ -417,8 +419,6 @@ static QTextListFormat::Style nextListStyle(QTextListFormat::Style style)
|
|||
return style;
|
||||
}
|
||||
|
||||
#ifndef QT_NO_TEXTHTMLPARSER
|
||||
|
||||
QTextHtmlImporter::QTextHtmlImporter(QTextDocument *_doc, const QString &_html, ImportMode mode, const QTextDocument *resourceProvider)
|
||||
: indent(0), compressNextWhitespace(PreserveWhiteSpace), doc(_doc), importMode(mode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue