diff options
Diffstat (limited to 'tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp')
-rw-r--r-- | tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp index 14c8d1772d..00939e5118 100644 --- a/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp +++ b/tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp @@ -1086,7 +1086,7 @@ void tst_QStyleSheetStyle::background() typedef QSharedPointer<QWidget> WidgetPtr; const QString styleSheet = QStringLiteral("* { background-color: #e8ff66; }"); - QVector<WidgetPtr> widgets; + QList<WidgetPtr> widgets; const QPoint topLeft = m_availableGeometry.topLeft(); // Testing inheritance styling of QDialog. WidgetPtr toplevel(new SingleInheritanceDialog); @@ -1602,8 +1602,8 @@ void tst_QStyleSheetStyle::toolTip() // including one without stylesheet (the tooltip will be reused, // but its color must change) const QWidgetList widgets{wid4, wid1, wid2, wid3, wid4}; - const QVector<QColor> colors{normalToolTip, QColor("#ae2"), QColor("#f81"), - QColor("#0b8"), normalToolTip}; + const QList<QColor> colors { normalToolTip, QColor("#ae2"), QColor("#f81"), QColor("#0b8"), + normalToolTip }; QWidgetList topLevels; for (int i = 0; i < widgets.count() ; ++i) { |