Skip to content

Commit

Permalink
Python: Python: our Python support should only concern our Python int…
Browse files Browse the repository at this point in the history
…erface (and not also our Solver interface).
  • Loading branch information
agarny committed Oct 20, 2019
1 parent e9b2ef9 commit 31531a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/plugin.cpp
Expand Up @@ -157,9 +157,9 @@ Plugin::Plugin(const QString &pFileName, PluginInfo *pInfo,
#ifdef PYTHON_SUPPORT
|| ( (qobject_cast<PythonInterface *>(mInstance) != nullptr)
&& (interfaceVersion(pFileName, "pythonInterfaceVersion") != pythonInterfaceVersion()))
#endif
|| ( (qobject_cast<SolverInterface *>(mInstance) != nullptr)
&& (interfaceVersion(pFileName, "solverInterfaceVersion") != solverInterfaceVersion()))
#endif
#ifdef GUI_SUPPORT
|| ( (qobject_cast<ViewInterface *>(mInstance) != nullptr)
&& (interfaceVersion(pFileName, "viewInterfaceVersion") != viewInterfaceVersion()))
Expand Down

0 comments on commit 31531a5

Please sign in to comment.