summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-22 10:49:29 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-24 12:04:14 -0700
commit86ab5a91f7d3b450e686c5a2cf8db8e4a8ff842e (patch)
treecb4989fdcb15e54d4e565c728a49c6bfabfd841a /mobile-widgets
parenta658f80e270c7ab3ed7f1fa02a1f1e142a3b1639 (diff)
downloadsubsurface-86ab5a91f7d3b450e686c5a2cf8db8e4a8ff842e.tar.gz
profile-widget: set printmode but allow events for ssrf-mobile
Reactivate printMode true for ssrf-mobile to avoid font problems, do not discard events if ssrf-mobile (even though printMode is true) Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlprofile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlprofile.cpp b/mobile-widgets/qmlprofile.cpp
index 1b64f6ecb..9ed3e36a5 100644
--- a/mobile-widgets/qmlprofile.cpp
+++ b/mobile-widgets/qmlprofile.cpp
@@ -15,7 +15,7 @@ QMLProfile::QMLProfile(QQuickItem *parent) :
setAntialiasing(true);
m_profileWidget = new ProfileWidget2(0);
m_profileWidget->setProfileState();
- m_profileWidget->setPrintMode(false);
+ m_profileWidget->setPrintMode(true);
m_profileWidget->setFontPrintScale(0.8);
connect(QMLManager::instance(), &QMLManager::sendScreenChanged, this, &QMLProfile::screenChanged);
setDevicePixelRatio(QMLManager::instance()->lastDevicePixelRatio());