diff options
Diffstat (limited to 'src/gui/text/qtextobject.cpp')
| -rw-r--r-- | src/gui/text/qtextobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qtextobject.cpp b/src/gui/text/qtextobject.cpp index bd1e9705837..c0342c0d4ea 100644 --- a/src/gui/text/qtextobject.cpp +++ b/src/gui/text/qtextobject.cpp @@ -1242,9 +1242,9 @@ QString QTextBlock::text() const \sa charFormat(), blockFormat() */ -QList<QTextLayout::FormatRange> QTextBlock::textFormats() const +QVector<QTextLayout::FormatRange> QTextBlock::textFormats() const { - QList<QTextLayout::FormatRange> formats; + QVector<QTextLayout::FormatRange> formats; if (!p || !n) return formats; |
