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()); } ``` |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
compositeuploadjob.cpp | ||
compositeuploadjob.h | ||
landevicelink.cpp | ||
landevicelink.h | ||
lanlinkprovider.cpp | ||
lanlinkprovider.h | ||
mdnsdiscovery.cpp | ||
mdnsdiscovery.h | ||
server.cpp | ||
server.h | ||
uploadjob.cpp | ||
uploadjob.h |