From 75b5be8f40df3d3b7d354eead0439b53b2490024 Mon Sep 17 00:00:00 2001 From: willemferguson Date: Tue, 10 Dec 2019 15:02:13 +0200 Subject: Preferences UI: add reset tab Add a separate preferences tab for resetting all preferences to their default values. One or two very small alterations to other sections of the preferences UI code. Signed-off-by: willemferguson Signed-off-by: Dirk Hohndel --- desktop-widgets/preferences/CMakeLists.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'desktop-widgets/preferences/CMakeLists.txt') diff --git a/desktop-widgets/preferences/CMakeLists.txt b/desktop-widgets/preferences/CMakeLists.txt index 2298db6b9..757e9940d 100644 --- a/desktop-widgets/preferences/CMakeLists.txt +++ b/desktop-widgets/preferences/CMakeLists.txt @@ -5,17 +5,18 @@ include_directories(. ) set(SUBSURFACE_PREFERENCES_UI - preferences_defaults.ui - preferences_graph.ui - preferences_network.ui preferences_cloud.ui - preferences_units.ui + preferences_dc.ui + preferences_defaults.ui + preferences_equipment.ui preferences_georeference.ui + preferences_graph.ui preferences_language.ui - preferences_media.ui - preferences_equipment.ui - preferences_dc.ui preferences_log.ui + preferences_media.ui + preferences_network.ui + preferences_reset.ui + preferences_units.ui ) qt5_wrap_ui(SUBSURFACE_PREFERENCES_UI_HDRS ${SUBSURFACE_PREFERENCES_UI}) @@ -45,6 +46,8 @@ set(SUBSURFACE_PREFERENCES_LIB_SRCS preferences_media.h preferences_network.cpp preferences_network.h + preferences_reset.cpp + preferences_reset.h preferences_units.cpp preferences_units.h preferencesdialog.cpp -- cgit v1.2.3-70-g09d2