From 6eaba1614aaba6f36b90dce46c1215324341686b Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 3 Aug 2021 09:20:56 +0300 Subject: [PATCH] set device of ICO format handler Signed-off-by: Ivailo Monev --- src/plugins/imageformats/ico/qicoplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/imageformats/ico/qicoplugin.cpp b/src/plugins/imageformats/ico/qicoplugin.cpp index a393de7d7..f6c96b0c6 100644 --- a/src/plugins/imageformats/ico/qicoplugin.cpp +++ b/src/plugins/imageformats/ico/qicoplugin.cpp @@ -60,7 +60,7 @@ QImageIOPlugin::Capabilities QICOPlugin::capabilities(QIODevice *device, const Q QImageIOHandler *QICOPlugin::create(QIODevice *device, const QByteArray &format) const { QImageIOHandler *handler = new QtIcoHandler(device); - + handler->setDevice(device); handler->setFormat(format); return handler; }