mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
don't use QPixmap if it is not necessary, so QCoreApplication can be used instead of QGuiApplication
This commit is contained in:
@ -636,7 +636,7 @@ void ThumbnailCreator::create()
|
||||
#else
|
||||
QImage p = pdfComic->page(_coverPage-1)->renderToImage(72,72);
|
||||
#endif
|
||||
_cover = QPixmap::fromImage(p);
|
||||
_cover = p;
|
||||
if(_target!="")
|
||||
{
|
||||
QImage scaled;
|
||||
|
Reference in New Issue
Block a user