Skip to content
Commit 91279077 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Drop unneeded Qt metatype declarations

KNSCore::Entry has a Q_GADGET macro and thus has automatic coverage.
KNSCore::Entry::List is a QList<Entry> typedef, where for QList<T> with T
being a registered meta type that is also registered automatically.

KNewStuffQuick::CommentsModel::IncludedComments & ItemsModel::ItemStatus
are both registered with Q_ENUM, thus also have automatic coverage.

The explicit declaration macros only add costs to all places using the
header, where the metatype declaration will be only needed by code
using the types in queued connections.
parent ecaa7af3
Pipeline #445215 passed with stage
in 7 minutes and 21 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment