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 <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2020-01-02 11:55:27 +01:00 committed by Dirk Hohndel
parent 347a002923
commit 80be2b570b
2 changed files with 22 additions and 1 deletions

View file

@ -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