Commit c0cb8554 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

add explicit init

parent 1243e0eb
Pipeline #192907 passed with stage
in 3 minutes and 4 seconds
......@@ -53,7 +53,7 @@ K_PLUGIN_FACTORY_WITH_JSON(LSPClientPluginFactory, "lspclientplugin.json", regis
* ensure we don't spam the user with debug output per-default
*/
static const bool debug = (qgetenv("LSPCLIENT_DEBUG") == QByteArray("1"));
static QLoggingCategory::CategoryFilter oldCategoryFilter;
static QLoggingCategory::CategoryFilter oldCategoryFilter = nullptr;
void myCategoryFilter(QLoggingCategory *category)
{
// deactivate info and debug if not debug mode
......
Supports Markdown
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