1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

PageThumbnailer: Take into account devicePixelRatio

This commit is contained in:
David Rosca 2016-12-31 16:24:51 +01:00
parent 8664dd8c7e
commit f701642e34

View File

@ -28,7 +28,7 @@
PageThumbnailer::PageThumbnailer(QObject* parent) PageThumbnailer::PageThumbnailer(QObject* parent)
: QObject(parent) : QObject(parent)
, m_view(new QQuickWidget()) , m_view(new QQuickWidget())
, m_size(QSize(450, 253)) , m_size(QSize(450, 253) * qApp->devicePixelRatio())
, m_loadTitle(false) , m_loadTitle(false)
{ {
m_view->setAttribute(Qt::WA_DontShowOnScreen); m_view->setAttribute(Qt::WA_DontShowOnScreen);