diff options
author | aavit <qt-info@nokia.com> | 2010-11-23 10:52:09 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2010-11-23 10:52:09 (GMT) |
commit | a1fd6c60455def34663c8a5621f21bab8fee9c21 (patch) | |
tree | cbb0296abceb82add7a2e95fe35ece51098924e6 /tests/auto | |
parent | bc40961abdcdfb7cca8cfd7020d9ca32a3105735 (diff) | |
download | Qt-a1fd6c60455def34663c8a5621f21bab8fee9c21.zip Qt-a1fd6c60455def34663c8a5621f21bab8fee9c21.tar.gz Qt-a1fd6c60455def34663c8a5621f21bab8fee9c21.tar.bz2 |
Generate thumbnails for faster loading of the web reports
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/lancelot/tst_lancelot.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/auto/lancelot/tst_lancelot.cpp b/tests/auto/lancelot/tst_lancelot.cpp index 0c5d787..7c6fe66 100644 --- a/tests/auto/lancelot/tst_lancelot.cpp +++ b/tests/auto/lancelot/tst_lancelot.cpp @@ -299,13 +299,15 @@ void tst_Lancelot::paint(QPaintDevice *device, const QStringList &script, const pcmd.setPainter(&p); pcmd.setFilePath(filePath); pcmd.runCommands(); + p.end(); if (simfail) { - p.drawLine(0, 0, 800, 800); + QPainter p2(device); + p2.setPen(QPen(QBrush(Qt::cyan), 3, Qt::DashLine)); + p2.drawLine(200, 200, 600, 600); + p2.drawLine(600, 200, 200, 600); simfail = false; } - - p.end(); } #define main rmain |