Move QAction to QtGui on Qt6

Reference:
- https://doc.qt.io/qt-6/widgets-changes-qt6.html#qaction-qactiongroup
This commit is contained in:
zneix 2021-07-31 22:32:47 +02:00
parent fa31c57dc9
commit e7b89e61e8
No known key found for this signature in database
GPG key ID: 911916E0523B22F6

View file

@ -107,7 +107,11 @@
# include <QWidget>
# include <QtCore/QVariant>
# include <QtGlobal>
# if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
# include <QtGui/QAction>
# else
# include <QtWidgets/QAction>
# endif
# include <QtWidgets/QApplication>
# include <QtWidgets/QButtonGroup>
# include <QtWidgets/QDialog>