Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2019-12-04 15:21:17 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:59:05 +0300
commit3317e354f257cd63caa0e551d11dc2aa8c779f4f (patch)
treec56a057c1f7dc0a588335e56b0a4e2490fc3ab13 /src/common
parentb6e8d47644143c4d3938a28b02eb5115af7c5104 (diff)
Prepend PLUGINDIR else its pointless
Diffstat (limited to 'src/common')
-rw-r--r--src/common/vfs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/vfs.cpp b/src/common/vfs.cpp
index efec96639..69c377170 100644
--- a/src/common/vfs.cpp
+++ b/src/common/vfs.cpp
@@ -136,21 +136,21 @@ bool OCC::isVfsPluginAvailable(Vfs::Mode mode)
auto basemeta = loader.metaData();
if (basemeta.isEmpty() || !basemeta.contains("IID")) {
- qCDebug(lcPlugin) << "Plugin doesn't exist" << pluginPath;
+ qCDebug(lcPlugin) << "Plugin doesn't exist" << loader.fileName();
return false;
}
if (basemeta["IID"].toString() != "org.owncloud.PluginFactory") {
- qCWarning(lcPlugin) << "Plugin has wrong IID" << pluginPath << basemeta["IID"];
+ qCWarning(lcPlugin) << "Plugin has wrong IID" << loader.fileName() << basemeta["IID"];
return false;
}
auto metadata = basemeta["MetaData"].toObject();
if (metadata["type"].toString() != "vfs") {
- qCWarning(lcPlugin) << "Plugin has wrong type" << pluginPath << metadata["type"];
+ qCWarning(lcPlugin) << "Plugin has wrong type" << loader.fileName() << metadata["type"];
return false;
}
if (metadata["version"].toString() != MIRALL_VERSION_STRING) {
- qCWarning(lcPlugin) << "Plugin has wrong version" << pluginPath << metadata["version"];
+ qCWarning(lcPlugin) << "Plugin has wrong version" << loader.fileName() << metadata["version"];
return false;
}