49a51e2d27
We can always provide a function rather than a value. This is what we do in most places already and is consistent with the rest of KDE. This gets compiled to the same code. ```cpp explicit QLoggingCategoryMacroHolder(const QLoggingCategory &cat) { if (IsOutputEnabled) init(cat); } explicit QLoggingCategoryMacroHolder(QMessageLogger::CategoryFunction catfunc) { if (IsOutputEnabled) init(catfunc()); } ``` |
||
---|---|---|
.. | ||
bluetooth | ||
lan | ||
loopback | ||
devicelink.cpp | ||
devicelink.h | ||
linkprovider.cpp | ||
linkprovider.h | ||
pairinghandler.cpp | ||
pairinghandler.h |