From 80be2b570b81ff5997f9412fd1206164c60e5b36 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 2 Jan 2020 11:55:27 +0100 Subject: backend-shared: add slot to detect switch METER <-> FEET This allows to update plannermodel etc. and thus avoiding a restart when changing units for length. Signed-off-by: Jan Iversen Signed-off-by: Dirk Hohndel --- backend-shared/plannershared.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backend-shared/plannershared.h') diff --git a/backend-shared/plannershared.h b/backend-shared/plannershared.h index 33c280aa2..4add244a2 100644 --- a/backend-shared/plannershared.h +++ b/backend-shared/plannershared.h @@ -174,8 +174,11 @@ signals: void verbatim_planChanged(bool value); void display_variationsChanged(bool value); +private slots: + static void unit_lengthChangedSlot(int value); + private: - plannerShared() {} + plannerShared(); }; #endif // PLANNERSHARED_H -- cgit v1.2.3-70-g09d2