diff options
Diffstat (limited to 'tests/manual/highdpi/main.cpp')
-rw-r--r-- | tests/manual/highdpi/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/highdpi/main.cpp b/tests/manual/highdpi/main.cpp index 2a9fb6aa0c..d4fe1d00c6 100644 --- a/tests/manual/highdpi/main.cpp +++ b/tests/manual/highdpi/main.cpp @@ -102,7 +102,7 @@ protected: QWidget *m_widget = nullptr; }; -using DemoContainerList = QVector<DemoContainerBase*>; +using DemoContainerList = QList<DemoContainerBase*>; template <class T> class DemoContainer : public DemoContainerBase @@ -551,7 +551,7 @@ QMenu *MainWindow::addNewMenu(const QString &title, int itemCount) void MainWindow::maskActionToggled(bool t) { if (t) { - QVector<QPoint> upperLeftTriangle; + QList<QPoint> upperLeftTriangle; upperLeftTriangle << QPoint(0, 0) << QPoint(width(), 0) << QPoint(0, height()); setMask(QRegion(QPolygon(upperLeftTriangle))); } else { @@ -851,7 +851,7 @@ public: private: QPoint lastMousePoint; - QVector<QPoint> linePoints; + QList<QPoint> linePoints; }; void LinePainter::paintEvent(QPaintEvent *) |