mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Early return if the compressed archive delegate is null
This commit is contained in:
parent
932910d0a9
commit
f3f4e7720a
@ -93,7 +93,7 @@ void CompressedArchive::getAllData(const QVector<quint32> & indexes, ExtractDele
|
|||||||
int i=0;
|
int i=0;
|
||||||
while (i < indexes.count())
|
while (i < indexes.count())
|
||||||
{
|
{
|
||||||
if(delegate->isCancelled())
|
if(delegate == nullptr || delegate->isCancelled())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user