diff options
| -rw-r--r-- | src/gui/text/qtextobject.cpp | 4 | ||||
| -rw-r--r-- | src/gui/text/qtextobject.h | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/src/gui/text/qtextobject.h b/src/gui/text/qtextobject.h index 6a127f0315b..81388543488 100644 --- a/src/gui/text/qtextobject.h +++ b/src/gui/text/qtextobject.h @@ -223,7 +223,7 @@ public: QString text() const; - QList<QTextLayout::FormatRange> textFormats() const; + QVector<QTextLayout::FormatRange> textFormats() const; const QTextDocument *document() const; |
