mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
revert gico format from webp to png
This commit is contained in:
parent
9719091776
commit
408f994779
|
@ -335,7 +335,7 @@ sptr< Dictionary::DataRequest > ArticleNetworkAccessManager::getResource(
|
|||
QByteArray bytes;
|
||||
QBuffer buffer(&bytes);
|
||||
buffer.open(QIODevice::WriteOnly);
|
||||
dictionaries[ x ]->getIcon().pixmap( 64 ).save(&buffer, "webp");
|
||||
dictionaries[ x ]->getIcon().pixmap( 64 ).save(&buffer, "PNG");
|
||||
buffer.close();
|
||||
sptr< Dictionary::DataRequestInstant > ico = new Dictionary::DataRequestInstant( true );
|
||||
ico->getData().resize( bytes.size() );
|
||||
|
|
Loading…
Reference in a new issue