mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -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;
|
||||
while (i < indexes.count())
|
||||
{
|
||||
if(delegate->isCancelled())
|
||||
if(delegate == nullptr || delegate->isCancelled())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user