diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2016-02-09 16:26:07 +0100 |
---|---|---|
committer | Robin Burchell <robin.burchell@viroteck.net> | 2016-02-12 20:23:05 +0000 |
commit | 2a36495cde3f60b3782c277490638e274216a869 (patch) | |
tree | cc3f1b89176eef3ae00634ccbe6d3fe9744a162b /tests/auto/quick/shared | |
parent | 084dbb06d7b00c4a67edb6ce58956150036c35f2 (diff) |
QQuickPixmapCache: Use readImage's (more useful) error message.
readImage already assigns to errorString if something goes wrong, so there's no
need to overwrite it with a less useful error message (which doesn't tell us
what actually went wrong).
Before: Invalid image data: test.qml
After: Error decoding: test.qml: Unsupported image format
Change-Id: I7df3d24497d001e18453034c6f9f63bb51bd0ecc
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'tests/auto/quick/shared')
0 files changed, 0 insertions, 0 deletions