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:
parent
1a81737d4f
commit
3aefd515bb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue