Include QCloseEvent in IEditor.cpp

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();
      |               ^~
`
This commit is contained in:
EthanArmbrust 2020-03-26 14:10:55 -04:00 committed by GitHub
parent 1a81737d4f
commit 3aefd515bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <QMenu> #include <QMenu>
#include <QMessageBox> #include <QMessageBox>
#include <QToolBar> #include <QToolBar>
#include <QCloseEvent>
IEditor::IEditor(QWidget* pParent) IEditor::IEditor(QWidget* pParent)
: QMainWindow(pParent) : QMainWindow(pParent)