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:
parent
8664dd8c7e
commit
f701642e34
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user