diff --git a/modules/gui/qt/widgets/native/roundimage.cpp b/modules/gui/qt/widgets/native/roundimage.cpp index c62cf7cd39..89dda60b28 100644 --- a/modules/gui/qt/widgets/native/roundimage.cpp +++ b/modules/gui/qt/widgets/native/roundimage.cpp @@ -283,7 +283,11 @@ namespace auto textureFactory = std::unique_ptr(response->textureFactory()); auto img = !textureFactory ? QImage {} : textureFactory->image(); if (!textureFactory || img.isNull()) + { + // source response failed, signal to parent + emit finished(); return; + } response->disconnect(this); response->deleteLater();