don't use QPixmap if it is not necessary, so QCoreApplication can be used instead of QGuiApplication

This commit is contained in:
Luis Ángel San Martín
2015-12-13 18:45:48 +01:00
parent 7443ed43be
commit 2b4c972219
2 changed files with 4 additions and 4 deletions

View File

@ -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;