From 2c9fdd522749bdbc1cb19eb3ddc022c205fd8258 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Thu, 6 Oct 2022 11:27:47 +0800 Subject: [PATCH] gico icon size change from 16x16 to 64x64 --- article_netmgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/article_netmgr.cc b/article_netmgr.cc index e0e23650..f0f00119 100644 --- a/article_netmgr.cc +++ b/article_netmgr.cc @@ -335,7 +335,7 @@ sptr< Dictionary::DataRequest > ArticleNetworkAccessManager::getResource( QByteArray bytes; QBuffer buffer(&bytes); buffer.open(QIODevice::WriteOnly); - dictionaries[ x ]->getIcon().pixmap( 16 ).save(&buffer, "PNG"); + dictionaries[ x ]->getIcon().pixmap( 64 ).save(&buffer, "webp"); buffer.close(); sptr< Dictionary::DataRequestInstant > ico = new Dictionary::DataRequestInstant( true ); ico->getData().resize( bytes.size() );