summaryrefslogtreecommitdiffstats
path: root/tests/manual/lance/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/lance/main.cpp')
-rw-r--r--tests/manual/lance/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/lance/main.cpp b/tests/manual/lance/main.cpp
index a8fa6bd402..749a4b1943 100644
--- a/tests/manual/lance/main.cpp
+++ b/tests/manual/lance/main.cpp
@@ -353,7 +353,7 @@ int main(int argc, char **argv)
scaledWidth = width * scalefactor;
scaledHeight = height * scalefactor;
- PaintCommands pcmd(QStringList(), 800, 800);
+ PaintCommands pcmd(QStringList(), 800, 800, imageFormat);
pcmd.setVerboseMode(verboseMode);
pcmd.setType(type);
pcmd.setCheckersBackground(checkers_background);
@@ -601,7 +601,7 @@ int main(int argc, char **argv)
case PrinterType:
{
#ifndef QT_NO_PRINTER
- PaintCommands pcmd(QStringList(), 800, 800);
+ PaintCommands pcmd(QStringList(), 800, 800, imageFormat);
pcmd.setVerboseMode(verboseMode);
pcmd.setType(type);
pcmd.setCheckersBackground(checkers_background);
@@ -635,7 +635,7 @@ int main(int argc, char **argv)
case PdfType:
{
#ifndef QT_NO_PRINTER
- PaintCommands pcmd(QStringList(), 800, 800);
+ PaintCommands pcmd(QStringList(), 800, 800, QImage::Format_ARGB32_Premultiplied);
pcmd.setVerboseMode(verboseMode);
pcmd.setType(type);
pcmd.setCheckersBackground(checkers_background);