diff options
Diffstat (limited to 'mobile-widgets/qmlinterface.cpp')
-rw-r--r-- | mobile-widgets/qmlinterface.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mobile-widgets/qmlinterface.cpp b/mobile-widgets/qmlinterface.cpp index 4bf23dedf..e70c73cb9 100644 --- a/mobile-widgets/qmlinterface.cpp +++ b/mobile-widgets/qmlinterface.cpp @@ -89,14 +89,4 @@ void QMLInterface::setup(QQmlContext *ct) // Make enums available as types qmlRegisterUncreatableType<QMLInterface>("org.subsurfacedivelog.mobile",1,0,"Enums","Enum is not a type"); - - // calculate divesummary first time. - // this is needed in order to load the divesummary page - diveSummary::summaryCalculation(0, 3); -} - -void QMLInterface::summaryCalculation(int primaryPeriod, int secondaryPeriod) -{ - diveSummary::summaryCalculation(primaryPeriod, secondaryPeriod); - emit diveSummaryTextChanged(diveSummary::diveSummaryText); } |