Skip to content
Snippets Groups Projects
Commit 2147ce85 authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Only try loading plugin once

parent f14762e6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment