From 02b3ea49175700a4c19d68bb3ab2c54d5f5e66e0 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sun, 14 Jul 2024 18:56:55 -0400 Subject: [PATCH] SP Controls: Fix duplicate classes --- selfdrive/ui/sunnypilot/qt/widgets/sp_priv_controls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/ui/sunnypilot/qt/widgets/sp_priv_controls.h b/selfdrive/ui/sunnypilot/qt/widgets/sp_priv_controls.h index 98dc6a34c9..e77e5a807e 100644 --- a/selfdrive/ui/sunnypilot/qt/widgets/sp_priv_controls.h +++ b/selfdrive/ui/sunnypilot/qt/widgets/sp_priv_controls.h @@ -19,6 +19,8 @@ // This is for compatibility purposes, until we properly do inheritance splitting // This is because some controls were needing LabelControlSP, but the original code was using LabelControl // which was modified in-place in the past but since we now have a new file, we will be moving it to LabelControlSP +#define AbstractControl AbstractControlCustomSP +#define LayoutWidget LayoutWidgetSP #define LabelControl LabelControlSP #define ElidedLabel ElidedLabelSP #define ButtonControl ButtonControlSP