Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/Pipe/MoleculeQtQueryPipe.cpp

    r0aa122 rf10b0c  
    2929
    3030
    31 MoleculeQtQueryPipe::MoleculeQtQueryPipe(const molecule **_content, QtDialog *_dialog, QComboBox *_theBox) :
     31MoleculeQtQueryPipe::MoleculeQtQueryPipe(Parameter<const molecule *> &_content, QtDialog *_dialog, QComboBox *_theBox) :
    3232  content(_content),
    3333  dialog(_dialog),
     
    4141  QVariant data = theBox->itemData(newIndex);
    4242  int idx = data.toInt();
    43   (*content) = World::getInstance().getMolecule(MoleculeById(idx));
     43  content.set(World::getInstance().getMolecule(MoleculeById(idx)));
    4444  dialog->update();
    4545}
Note: See TracChangeset for help on using the changeset viewer.