mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
065af62f59
commit
708d69343d
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Add table
Reference in a new issue