EffectLoader: Warn about trying to load an invalid effect
If the metadata of the effect is invalid, loadEffect will complain rather than failing silently, making debugging issues a bit harder and it's something that we are already checking for and shouldn't realistically be happening.
This commit is contained in:
parent
5e94f5429a
commit
1ab5453a90
1 changed files with 0 additions and 3 deletions
|
@ -324,9 +324,6 @@ QStringList PluginEffectLoader::listOfKnownEffects() const
|
|||
bool PluginEffectLoader::loadEffect(const QString &name)
|
||||
{
|
||||
const auto info = findEffect(name);
|
||||
if (!info.isValid()) {
|
||||
return false;
|
||||
}
|
||||
return loadEffect(info, LoadEffectFlag::Load);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue