From 95244a4d78fa4cf61736704d096e59023e9561be Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Wed, 31 May 2023 20:09:05 -0400 Subject: [PATCH] Fix warning. --- gpt4all-chat/qml/MyComboBox.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/gpt4all-chat/qml/MyComboBox.qml b/gpt4all-chat/qml/MyComboBox.qml index 11e7f0ae..9a9255ff 100644 --- a/gpt4all-chat/qml/MyComboBox.qml +++ b/gpt4all-chat/qml/MyComboBox.qml @@ -65,6 +65,7 @@ ComboBox { } onPaint: { + var context = getContext("2d"); context.reset(); context.lineWidth = 2; context.moveTo(0, height / 2 - 2);