mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
323e97c603
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>
18 lines
304 B
C
18 lines
304 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef QT_GUI_H
|
|
#define QT_GUI_H
|
|
|
|
void init_qt_late();
|
|
void init_ui();
|
|
|
|
void exit_ui();
|
|
void set_non_bt_addresses();
|
|
|
|
#if defined(SUBSURFACE_MOBILE)
|
|
#include <QQuickWindow>
|
|
void run_mobile_ui(double initial_font_size);
|
|
#else
|
|
void run_ui();
|
|
#endif
|
|
|
|
#endif // QT_GUI_H
|