mirror of
https://github.com/YACReader/yacreader
synced 2025-09-04 20:34:55 -04:00
Early return if the compressed archive delegate is null
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user