diff options
| author | NeroBurner <pyro4hell@gmail.com> | 2024-09-29 19:39:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-29 19:39:14 +0200 |
| commit | 3db4e012ceb38602912edad75ccbbcd8834bcae6 (patch) | |
| tree | 6e81aeef0e7f6d0a2995f6ccd7b495899c3dea2a /src/displayapp/screens/SystemInfo.cpp | |
| parent | a0cd439efc9b0d0d9610dea7ff749f102d5a316d (diff) | |
Remove unused pointer to DisplayApp member variables (#2125)
In the screens that use `DisplayApp *app` and pass it to a child item,
or use the reference just in the constructor. Afterwards the `app`
member is not used. So remove it from the private member variables.
Completely remove `app` parameter from `SettingDisplay` constructor as
it is unused.
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
| -rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index dd39f88a..d265fddd 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -40,8 +40,7 @@ SystemInfo::SystemInfo(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::MotionController& motionController, const Pinetime::Drivers::Cst816S& touchPanel, const Pinetime::Drivers::SpiNorFlash& spiNorFlash) - : app {app}, - dateTimeController {dateTimeController}, + : dateTimeController {dateTimeController}, batteryController {batteryController}, brightnessController {brightnessController}, bleController {bleController}, |
