diff --git a/apps/shared/store_title_cell.h b/apps/shared/store_title_cell.h index 823c09c35..51e3952bf 100644 --- a/apps/shared/store_title_cell.h +++ b/apps/shared/store_title_cell.h @@ -7,8 +7,8 @@ namespace Shared { class StoreTitleCell : public BufferFunctionTitleCell { public: - StoreTitleCell(Orientation orientation, KDText::FontSize size = KDText::FontSize::Large) : - BufferFunctionTitleCell(orientation, size), + StoreTitleCell() : + BufferFunctionTitleCell(Orientation::HorizontalIndicator, KDText::FontSize::Small), m_separatorLeft(false) {} void setSeparatorLeft(bool separator); diff --git a/apps/statistics/calculation_controller.cpp b/apps/statistics/calculation_controller.cpp index 269598328..a6a3f649b 100644 --- a/apps/statistics/calculation_controller.cpp +++ b/apps/statistics/calculation_controller.cpp @@ -201,7 +201,7 @@ Responder * CalculationController::tabController() const { View * CalculationController::loadView() { for (int i = 0; i < k_numberOfSeriesTitleCells; i++) { - m_seriesTitleCells[i] = new StoreTitleCell(FunctionTitleCell::Orientation::HorizontalIndicator, KDText::FontSize::Small); + m_seriesTitleCells[i] = new StoreTitleCell(); m_seriesTitleCells[i]->setSeparatorLeft(true); } for (int i = 0; i < k_numberOfCalculationTitleCells; i++) { diff --git a/apps/statistics/store_controller.cpp b/apps/statistics/store_controller.cpp index 24026b514..887f58fc6 100644 --- a/apps/statistics/store_controller.cpp +++ b/apps/statistics/store_controller.cpp @@ -55,7 +55,7 @@ bool StoreController::setDataAtLocation(double floatBody, int columnIndex, int r View * StoreController::loadView() { for (int i = 0; i < k_numberOfTitleCells; i++) { - m_titleCells[i] = new Shared::StoreTitleCell(FunctionTitleCell::Orientation::HorizontalIndicator, KDText::FontSize::Small); + m_titleCells[i] = new Shared::StoreTitleCell(); } return Shared::StoreController::loadView(); }