Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Nov 20, 2019
1 parent 6e27f9d commit b2b1b36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Expand Up @@ -342,6 +342,9 @@ DataStorePythonWrapper::DataStorePythonWrapper(PyObject *pModule,

PyType_Ready(&DataStoreValuesDict_Type);

// Register some OpenCOR classes with Python and add some decorators to
// ourselves

PythonQtSupport::registerClass(&DataStore::staticMetaObject);
PythonQtSupport::registerClass(&DataStoreValue::staticMetaObject);
PythonQtSupport::registerClass(&DataStoreVariable::staticMetaObject);
Expand Down
Expand Up @@ -32,7 +32,7 @@ namespace PythonQtSupport {

void addInstanceDecorators(QObject *pObject)
{
// Add instance decorators for the given object
// Add some instance decorators to the given object

PythonQt::self()->addInstanceDecorators(pObject);
}
Expand Down
Expand Up @@ -275,7 +275,8 @@ SimulationSupportPythonWrapper::SimulationSupportPythonWrapper(PyObject *pModule
{
Q_UNUSED(pModule)

// Register some OpenCOR classes with Python and decorators to our ourselves
// Register some OpenCOR classes with Python and add some decorators to
// ourselves

PythonQtSupport::registerClass(&Simulation::staticMetaObject);
PythonQtSupport::registerClass(&SimulationData::staticMetaObject);
Expand Down

0 comments on commit b2b1b36

Please sign in to comment.