| 20 | #include "ApplicationSettings.h" |
| 21 | |
| 22 | MacroManager::MacroManager(QObject *parent) : |
| 23 | QObject{parent} |
| 24 | { |
| 25 | qInfo(Q_FUNC_INFO); |
| 26 | |
| 27 | #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) |
| 28 | qRegisterMetaTypeStreamOperators<Macro>("Macro"); |
| 29 | #else |
| 30 | // HACK: For some reason this is required to make QVariant recognize it as a valid type |
| 31 | // see https://stackoverflow.com/q/70974383 |
| 32 | QMetaType::fromType<Macro>().hasRegisteredDataStreamOperators(); |
| 33 | #endif |
| 34 | |
| 35 | loadSettings(); |
| 36 | } |
| 37 | |
| 38 | MacroManager::~MacroManager() |
| 39 | { |
nothing calls this directly
no outgoing calls
no test coverage detected