From 65720d2fcef50ad66c741eba1c3c00bb01b74671 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 13 Feb 2021 14:58:49 +0100 Subject: cleanup: remove function declaration AbstractProfilePolygonItem::shouldCalculateStuff()'s definition has been removed some time ago. Therefore, remove its declaration. Signed-off-by: Berthold Stoeger --- profile-widget/diveprofileitem.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'profile-widget') diff --git a/profile-widget/diveprofileitem.h b/profile-widget/diveprofileitem.h index 4d86714c1..f4e0df113 100644 --- a/profile-widget/diveprofileitem.h +++ b/profile-widget/diveprofileitem.h @@ -45,15 +45,6 @@ slots: void setVisible(bool visible); protected: - /* when the model emits a 'datachanged' signal, this method below should be used to check if the - * modified data affects this particular item ( for example, when setting the '3m increment' - * the data for Ceiling and tissues will be changed, and only those. so, the topLeft will be the CEILING - * column and the bottomRight will have the TISSUE_16 column. this method takes the vDataColumn and hDataColumn - * into consideration when returning 'true' for "yes, continue the calculation', and 'false' for - * 'do not recalculate, we already have the right data. - */ - bool shouldCalculateStuff(const QModelIndex &topLeft, const QModelIndex &bottomRight); - const DiveCartesianAxis &hAxis; const DiveCartesianAxis &vAxis; const DivePlotDataModel &dataModel; -- cgit v1.2.3-70-g09d2