don't break the whole feature by attempting to clean up logging

This commit is contained in:
Mm2PL 2023-02-08 00:36:45 +01:00
parent c4ec7b8e27
commit 1cd1822fcc
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -52,7 +52,8 @@ void PluginController::actuallyInitialize()
this->plugins_.clear(); this->plugins_.clear();
auto dir = QDir(getPaths()->pluginsDirectory); auto dir = QDir(getPaths()->pluginsDirectory);
qCDebug(chatterinoLua) << "Loading plugins in" << dir.path(); 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()) if (info.isDir())
{ {