- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp
r0aa122 rf10b0c 29 29 30 30 31 MoleculeQtQueryPipe::MoleculeQtQueryPipe( const molecule **_content, QtDialog *_dialog, QComboBox *_theBox) :31 MoleculeQtQueryPipe::MoleculeQtQueryPipe(Parameter<const molecule *> &_content, QtDialog *_dialog, QComboBox *_theBox) : 32 32 content(_content), 33 33 dialog(_dialog), … … 41 41 QVariant data = theBox->itemData(newIndex); 42 42 int idx = data.toInt(); 43 (*content) = World::getInstance().getMolecule(MoleculeById(idx));43 content.set(World::getInstance().getMolecule(MoleculeById(idx))); 44 44 dialog->update(); 45 45 }
Note:
See TracChangeset
for help on using the changeset viewer.