From 3aefd515bb8360544522080c1e87cb1075103560 Mon Sep 17 00:00:00 2001 From: EthanArmbrust Date: Thu, 26 Mar 2020 14:10:55 -0400 Subject: [PATCH] Include QCloseEvent in IEditor.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this include, project fails to build on Arch Linux with gcc 9.3.0 with the following error: `../src/Editor/IEditor.cpp:79:15: error: invalid use of incomplete type ‘class QCloseEvent’ 79 | pEvent->ignore(); | ^~ ` --- src/Editor/IEditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Editor/IEditor.cpp b/src/Editor/IEditor.cpp index 5cb09b1e..417dd33d 100644 --- a/src/Editor/IEditor.cpp +++ b/src/Editor/IEditor.cpp @@ -5,6 +5,7 @@ #include #include #include +#include IEditor::IEditor(QWidget* pParent) : QMainWindow(pParent)