TGA-Reader: Bail out of check if the device is not seekable.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Mon, 13 May 2013 10:48:52 +0000 (12:48 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 13 May 2013 10:56:34 +0000 (12:56 +0200)
commiteec8ed4818fe4178df5443dc96afccb3925723c4
tree8a09977e703f43bea175ab3c4c5e350fd029fd79
parentf293cc8539da5d4ea915c957abbba473515793ad
TGA-Reader: Bail out of check if the device is not seekable.

Suppress warning
'QIODevice::seek: Cannot call seek on a sequential device'
which is emitted further down when attempting to restore
the position of the file.

Task-number: QTBUG-31081
Change-Id: Ib6a4b3eecaa61905a29020e5dd428f1516bfba7f
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/plugins/imageformats/tga/qtgahandler.cpp