Only try loading plugin once

pull/416/head
Loren Burkholder 3 years ago
parent f14762e6a5
commit 2147ce8556
  1. 4
      src/JdenticonProvider.cpp

@ -78,8 +78,9 @@ JdenticonInterface *
getJdenticonInterface()
{
static JdenticonInterface *interface = nullptr;
static bool interfaceExists{true};
if (interface == nullptr) {
if (interface == nullptr && interfaceExists) {
QDir pluginsDir(qApp->applicationDirPath());
bool plugins = pluginsDir.cd("plugins");
@ -97,6 +98,7 @@ getJdenticonInterface()
}
} else {
nhlog::ui()->info("jdenticon plugin not found.");
interfaceExists = false;
}
}

Loading…
Cancel
Save