mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
gico icon size change from 16x16 to 64x64
This commit is contained in:
parent
0ce1ff8566
commit
2c9fdd5227
|
@ -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() );
|
||||
|
|
Loading…
Reference in a new issue