mobile: removing print mode from mobile.

print mode was used to limit the functionality of the profile,
when used in ssrf-mobile.

The effect is that DC events are displayed, but not selectable

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-21 20:05:06 +02:00 committed by Dirk Hohndel
parent 065af62f59
commit 708d69343d

View file

@ -15,7 +15,7 @@ QMLProfile::QMLProfile(QQuickItem *parent) :
setAntialiasing(true); setAntialiasing(true);
m_profileWidget = new ProfileWidget2(0); m_profileWidget = new ProfileWidget2(0);
m_profileWidget->setProfileState(); m_profileWidget->setProfileState();
m_profileWidget->setPrintMode(true); m_profileWidget->setPrintMode(false);
m_profileWidget->setFontPrintScale(0.8); m_profileWidget->setFontPrintScale(0.8);
connect(QMLManager::instance(), &QMLManager::sendScreenChanged, this, &QMLProfile::screenChanged); connect(QMLManager::instance(), &QMLManager::sendScreenChanged, this, &QMLProfile::screenChanged);
setDevicePixelRatio(QMLManager::instance()->lastDevicePixelRatio()); setDevicePixelRatio(QMLManager::instance()->lastDevicePixelRatio());