diff --git a/app/gui/oven_control/dirtylevel.cpp b/app/gui/oven_control/dirtylevel.cpp index d72d618..8d13120 100644 --- a/app/gui/oven_control/dirtylevel.cpp +++ b/app/gui/oven_control/dirtylevel.cpp @@ -11,13 +11,13 @@ int cookingCount; void DirtyLevel::cookStart() { - cookStartTime = QDateTime.currentDateTime(); + cookStartTime = QDateTime::currentDateTime(); cookingCount++; } void DirtyLevel::cookEnd() { - cookingTime += cookStartTime.secsTo(QDateTime.currentDateTime()); + cookingTime += cookStartTime.secsTo(QDateTime::currentDateTime()); } int DirtyLevel::dirty()