fixed warning, 0.9.18

This commit is contained in:
John Preston 2016-01-05 15:23:44 +08:00
parent afb40b8289
commit 47dee02de4

View File

@ -484,7 +484,7 @@ public:
, _frameDelay(0) {
}
bool readNextFrame(QImage &to, bool &hasAlpha, const QSize &size) {
bool readNextFrame() {
if (_reader) _frameDelay = _reader->nextImageDelay();
if (_framesLeft < 1 && !jumpToStart()) {
return false;