mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: remember the system default font size
We need to do this before the preferences are loaded, or the system default size is lost. Given that our other sizes are all relative to this value, that would be a problem. With this we can now ensure that we always have the right font size for smaller, regular, and larger theme settings. Also removes some obsolete commented out code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1472117541
commit
323e97c603
6 changed files with 37 additions and 26 deletions
|
@ -10,7 +10,7 @@ void set_non_bt_addresses();
|
|||
|
||||
#if defined(SUBSURFACE_MOBILE)
|
||||
#include <QQuickWindow>
|
||||
void run_mobile_ui();
|
||||
void run_mobile_ui(double initial_font_size);
|
||||
#else
|
||||
void run_ui();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue