From 14721175416772d23c9757e74b78ec8be448aac7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 14 Jan 2021 17:04:37 -0800 Subject: cleanup: create separate UI entry points for desktop and mobile This doesn't really change anything, but makes the code easier to read. Signed-off-by: Dirk Hohndel --- core/qt-gui.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/qt-gui.h b/core/qt-gui.h index 9bfe0e001..dc0fb2348 100644 --- a/core/qt-gui.h +++ b/core/qt-gui.h @@ -5,12 +5,14 @@ void init_qt_late(); void init_ui(); -void run_ui(); void exit_ui(); void set_non_bt_addresses(); #if defined(SUBSURFACE_MOBILE) #include +void run_mobile_ui(); +#else +void run_ui(); #endif #endif // QT_GUI_H -- cgit v1.2.3-70-g09d2