mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Removed some duplicated code from chart line view context.
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Statistic {
|
||||
class RpMouseWidget;
|
||||
class PointDetailsWidget;
|
||||
class ChartLinesFilterWidget;
|
||||
class LinearChartPainter;
|
||||
class LinearChartView;
|
||||
|
||||
class ChartWidget : public Ui::RpWidget {
|
||||
public:
|
||||
@@ -134,9 +134,9 @@ private:
|
||||
|
||||
ChartLineViewContext _animatedChartLines;
|
||||
struct {
|
||||
std::unique_ptr<LinearChartPainter> main;
|
||||
std::unique_ptr<LinearChartPainter> footer;
|
||||
} _linearChartPainter;
|
||||
std::unique_ptr<LinearChartView> main;
|
||||
std::unique_ptr<LinearChartView> footer;
|
||||
} _linearChartView;
|
||||
|
||||
struct {
|
||||
base::unique_qptr<PointDetailsWidget> widget;
|
||||
|
Reference in New Issue
Block a user