diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-29 07:15:52 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-29 07:15:52 -0800 |
commit | 9df3835035f016231d02e95968c02bd5f100ee1a (patch) | |
tree | bd409b2b51f6423055eecc216a68651b33b6453b /qt-mobile/qmlprofile.cpp | |
parent | bcdd5645a6477be5ac35b94d165e39c0adce9e84 (diff) | |
download | subsurface-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>
Diffstat (limited to 'qt-mobile/qmlprofile.cpp')
-rw-r--r-- | qt-mobile/qmlprofile.cpp | 3 |
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()); } |