fix plugin compilation

This commit is contained in:
Rasmus Karlsson 2024-01-16 10:48:05 +01:00
parent dac2ef3a9e
commit 98cae26c90

View file

@ -49,7 +49,7 @@ void PluginController::initialize(Settings &settings, const Paths &paths)
void PluginController::loadPlugins() void PluginController::loadPlugins()
{ {
this->plugins_.clear(); this->plugins_.clear();
auto dir = QDir(this->paths->pluginsDirectory); auto dir = QDir(this->paths.pluginsDirectory);
qCDebug(chatterinoLua) << "Loading plugins in" << dir.path(); qCDebug(chatterinoLua) << "Loading plugins in" << dir.path();
for (const auto &info : for (const auto &info :
dir.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot)) dir.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot))