aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 07:15:52 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-29 07:15:52 -0800
commit9df3835035f016231d02e95968c02bd5f100ee1a (patch)
treebd409b2b51f6423055eecc216a68651b33b6453b
parentbcdd5645a6477be5ac35b94d165e39c0adce9e84 (diff)
downloadsubsurface-9df3835035f016231d02e95968c02bd5f100ee1a.tar.gz
QML-UI: switch profile widget into print mode
We don't need any of the interactive features. Additionally this allows us to easily ask for slightly smaller fonts. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qmlprofile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-mobile/qmlprofile.cpp b/qt-mobile/qmlprofile.cpp
index cb9575858..51fddb4ba 100644
--- a/qt-mobile/qmlprofile.cpp
+++ b/qt-mobile/qmlprofile.cpp
@@ -8,7 +8,8 @@ QMLProfile::QMLProfile(QQuickItem *parent) :
{
m_profileWidget = new ProfileWidget2(0);
m_profileWidget->setProfileState();
- m_profileWidget->setToolTipVisibile(false);
+ m_profileWidget->setPrintMode(true);
+ m_profileWidget->setFontPrintScale(0.8);
//m_profileWidget->setGeometry(this->geometry());
}