mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-13 07:06:19 +00:00
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:
@@ -5,6 +5,7 @@
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QToolBar>
|
||||
#include <QCloseEvent>
|
||||
|
||||
IEditor::IEditor(QWidget* pParent)
|
||||
: QMainWindow(pParent)
|
||||
|
||||
Reference in New Issue
Block a user