From 1cd1822fcc204f401530b853caec8db9b27da27c Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Wed, 8 Feb 2023 00:36:45 +0100 Subject: [PATCH] don't break the whole feature by attempting to clean up logging --- src/controllers/plugins/PluginController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/plugins/PluginController.cpp b/src/controllers/plugins/PluginController.cpp index 2d8238f0e..cf61a4195 100644 --- a/src/controllers/plugins/PluginController.cpp +++ b/src/controllers/plugins/PluginController.cpp @@ -52,7 +52,8 @@ void PluginController::actuallyInitialize() this->plugins_.clear(); auto dir = QDir(getPaths()->pluginsDirectory); qCDebug(chatterinoLua) << "Loading plugins in" << dir.path(); - for (const auto &info : dir.entryInfoList(QDir::NoDotAndDotDot)) + for (const auto &info : + dir.entryInfoList(QDir::NoFilter | QDir::NoDotAndDotDot)) { if (info.isDir()) {