mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
set device of ICO format handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
fc93a1bbd8
commit
6eaba1614a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue