diff options
author | Sebastian Kügler <sebas@kde.org> | 2015-11-06 21:04:41 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-06 13:41:56 -0800 |
commit | ab66f6fc981b8b962165ca9ca1f9fd0aa73b1ff2 (patch) | |
tree | caa910312219e6fd20b4da34d3b9e7d8f92d98c7 /qt-models/divelistmodel.cpp | |
parent | 9edb4f3fa91b3907809375794d75a1b1a77c94a0 (diff) | |
download | subsurface-ab66f6fc981b8b962165ca9ca1f9fd0aa73b1ff2.tar.gz |
Use default font size on Android
This solves the root problem of most of the dpi-depdent sizing in the
mobile Android version.
When setting a custom font size, we circumvent Android's defaults, which
means that we end up setting the font size further down the road to get
readable fonts.
I suppose this was set in order to make the QWidget-based user interface
"work" on Android. Hard-coding a font size at this central point brings
more headache than needed, one could instead consider adding an #ifdef
Q_OS_ANDROID in main window.
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divelistmodel.cpp')
0 files changed, 0 insertions, 0 deletions