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

Drop unneeded Qt metatype declarations

Inhibition::State, Job::Error, Power::InhibitionType are all registered
with Q_ENUM, thus have automatic coverage.

QList<T> with T being a registered meta type that is also registered
automatically, and int as built-in C++ type is registered.

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 7930bfe1
Pipeline #446747 passed with stage
in 4 minutes and 51 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