Add explicit moc includes to sources for moc-covered headers

This commit is contained in:
Laurent Montel
2023-07-16 11:08:19 +02:00
parent 89a094ce8f
commit 3855922ad2
2 changed files with 4 additions and 0 deletions

View File

@@ -26,3 +26,5 @@ DevicesProxyModel::DevicesProxyModel(QObject *parent)
setSortRole(DevicesModel::LastTimestamp);
sort(0, Qt::DescendingOrder);
}
#include "moc_devicesproxymodel.cpp"

View File

@@ -108,3 +108,5 @@ QHash<int, QByteArray> KeywordNotificationRuleModel::roleNames() const
{
return {{NameRole, QByteArrayLiteral("name")}};
}
#include "moc_keywordnotificationrulemodel.cpp"