diff options
author | Jarek Kobus <[email protected]> | 2020-07-06 11:55:39 +0200 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2020-07-07 20:35:05 +0200 |
commit | 471e4fcb226c4523efe93b1bdaf0db026495da94 (patch) | |
tree | bb963937b2446eb32d7632568433083a386f2c68 /src/gui/doc/snippets/textdocument-tables | |
parent | 7f400522c39f6a1abf083dc1af49ea3109635cc8 (diff) |
Use QList instead of QVector in gui implementation
Task-number: QTBUG-84469
Change-Id: I366e845249203d80d640355a7780ac2f91a762f1
Reviewed-by: Tor Arne Vestbø <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-tables')
-rw-r--r-- | src/gui/doc/snippets/textdocument-tables/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp b/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp index 85e7fc109a3..df9bd337f6c 100644 --- a/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp +++ b/src/gui/doc/snippets/textdocument-tables/mainwindow.cpp @@ -83,7 +83,7 @@ MainWindow::MainWindow() //! [2] QTextTableFormat tableFormat; tableFormat.setBackground(QColor("#e0e0e0")); - QVector<QTextLength> constraints; + QList<QTextLength> constraints; constraints << QTextLength(QTextLength::PercentageLength, 16); constraints << QTextLength(QTextLength::PercentageLength, 28); constraints << QTextLength(QTextLength::PercentageLength, 28); |