Add all the missing .path() calls

This commit is contained in:
Mm2PL 2023-02-07 21:42:03 +01:00
parent ef70112386
commit d4bdcc7da2
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -87,7 +87,7 @@ bool PluginController::tryLoadFromDir(const QDir &pluginDir)
if (!infojson.exists())
{
qCDebug(chatterinoLua)
<< "Missing info.json in plugin directory" << pluginDir;
<< "Missing info.json in plugin directory" << pluginDir.path();
return false;
}
QFile infoFile(infojson.absoluteFilePath());
@ -97,7 +97,7 @@ bool PluginController::tryLoadFromDir(const QDir &pluginDir)
if (!doc.isObject())
{
qCDebug(chatterinoLua)
<< "info.json root is not an object" << pluginDir;
<< "info.json root is not an object" << pluginDir.path();
return false;
}