mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-01-18 12:02:10 +01:00
Special case not needed
This commit is contained in:
parent
30fee38b25
commit
0c63b66544
@ -325,9 +325,6 @@ static bool layer(CTX &ctx, Data::Layer &l)
|
|||||||
|
|
||||||
bool Data::load(const QByteArray &ba)
|
bool Data::load(const QByteArray &ba)
|
||||||
{
|
{
|
||||||
if (ba.isEmpty())
|
|
||||||
return true;
|
|
||||||
|
|
||||||
CTX ctx(ba);
|
CTX ctx(ba);
|
||||||
|
|
||||||
while (ctx.bp < ctx.be) {
|
while (ctx.bp < ctx.be) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user