mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-18 03:54:18 -04:00
Fixes for sequential devices
This commit is contained in:
committed by
Albert Astals Cid
parent
49bd131eef
commit
c96ad6ba8a
@ -1249,6 +1249,9 @@ bool PSDHandler::canRead(QIODevice *device)
|
||||
qWarning("PSDHandler::canRead() called with no device");
|
||||
return false;
|
||||
}
|
||||
if (device->isSequential()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
qint64 oldPos = device->pos();
|
||||
|
||||
|
Reference in New Issue
Block a user