aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2016-10-13 17:21:41 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2016-10-13 17:21:48 +0200
commit90fa3414156522ef89f9ebe8cefd6dad303ce06c (patch)
tree65ba250895722795ce3d14fb9b4341953ffd1733 /tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml
parent2a999f870e791d99c5c0463a11be05fc5a14dfcc (diff)
parenta05fec277d0a122e03bb6c7756777729df50b1f2 (diff)
Merge remote-tracking branch 'origin/dev' into wip/scenegraphng
Diffstat (limited to 'tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml')
-rw-r--r--tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml b/tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml
index 743dad70eb..022e98a202 100644
--- a/tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml
+++ b/tests/auto/qmltest/itemgrabber/tst_itemgrabber.qml
@@ -102,7 +102,7 @@ Item {
property int callCount: 0;
property bool ready: false;
function handleGrab(result) {
- if (!result.saveToFile("image.png"))
+ if (!result.saveToFile("itemgrabber/image.png"))
print("Error: Failed to save image to disk...");
source = "image.png";
ready = true;
@@ -116,7 +116,7 @@ Item {
y: 0
property bool ready: false;
function handleGrab(result) {
- if (!result.saveToFile("image_small.png"))
+ if (!result.saveToFile("itemgrabber/image_small.png"))
print("Error: Failed to save image to disk...");
source = "image_small.png";
ready = true;