- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Qt4/Pipe/MoleculesQtQueryPipe.cpp
r0aa122 rf10b0c 31 31 32 32 33 MoleculesQtQueryPipe::MoleculesQtQueryPipe( std::vector<const molecule *>*_content, QtDialog *_dialog, QComboBox *_theBox) :33 MoleculesQtQueryPipe::MoleculesQtQueryPipe(Parameter<std::vector<const molecule *> > &_content, QtDialog *_dialog, QComboBox *_theBox) : 34 34 content(_content), 35 35 dialog(_dialog), … … 44 44 int idx = data.toInt(); 45 45 molecule *mol = World::getInstance().getMolecule(MoleculeById(idx)); 46 std::vector<const molecule *> temp_mols; 46 47 if (mol) 47 (*content).push_back(mol); 48 temp_mols.push_back(mol); 49 content.set(temp_mols); 48 50 dialog->update(); 49 51 }
Note:
See TracChangeset
for help on using the changeset viewer.