Fix build error under Fedora 38 with 6.4.3
This will hopefully fix: ``` [ 56s] /home/abuild/rpmbuild/BUILD/syncthingtray-1718839812.fa5a7b5/redhat-linux-build/syncthingmodel/syncthingmodel-qt6_autogen/EWIEGA46WW/moc_syncthingfilemodel.cpp:177:5: required from here [ 56s] /usr/include/qt6/QtCore/qmetatype.h:842:23: error: invalid application of 'sizeof' to incomplete type 'QAction' [ 56s] 842 | static_assert(sizeof(T), "Type argument of Q_PROPERTY or Q_DECLARE_METATYPE(T*) must be fully defined"); ```
This commit is contained in:
parent
fa5a7b5c64
commit
7a47bc3e4f
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include <c++utilities/conversion/stringconversion.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QClipboard>
|
||||
#include <QGuiApplication>
|
||||
#include <QNetworkReply>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <syncthingconnector/syncthingconnection.h>
|
||||
#include <syncthingconnector/syncthingignorepattern.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QFuture>
|
||||
#include <QFutureWatcher>
|
||||
#include <QHash>
|
||||
|
@ -15,8 +16,6 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QAction)
|
||||
|
||||
class ModelTests;
|
||||
|
||||
namespace Data {
|
||||
|
|
Loading…
Reference in New Issue