From 1501b2b5771bc12e2a9985ca730999c7cdc2ec32 Mon Sep 17 00:00:00 2001 From: Stanislav Mykhailenko Date: Fri, 26 Jul 2024 23:24:15 +0300 Subject: [PATCH] Attempt to fix Lesson 5 Task 3 --- Lesson_5/Task_3/calculator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lesson_5/Task_3/calculator.h b/Lesson_5/Task_3/calculator.h index 5d6e5f9..6af0ae6 100644 --- a/Lesson_5/Task_3/calculator.h +++ b/Lesson_5/Task_3/calculator.h @@ -47,7 +47,7 @@ private: float m_operand1; bool m_operand1Set = false; float m_operand2; - QChar m_operator = 0; + QChar m_operator = (QChar)0; bool m_done = false; };