Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.cpp

    r5a7243 r24a5e0  
    102102Dialog::MoleculeQuery::MoleculeQuery(string title, molecule **_target, MoleculeListClass *_molecules) :
    103103    Query(title),
    104     target(_target),
     104    tmp(0),
    105105    molecules(_molecules),
    106     tmp(0)
     106    target(_target)
     107
    107108{}
    108109
     
    116117
    117118Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check) :
    118   Query(title), target(_target), cellSize(_cellSize), check(_check)
     119  Query(title),
     120  cellSize(_cellSize),
     121  check(_check),
     122  target(_target)
    119123{
    120124tmp = new Vector();
     
    129133  *target = *tmp;
    130134}
    131 
    132 // Element Queries
    133 Dialog::ElementQuery::ElementQuery(std::string title, element **_target) :
    134   Query(title),
    135   target(_target),
    136   tmp(0)
    137   {}
    138 
    139 Dialog::ElementQuery::~ElementQuery(){}
    140 
    141 void Dialog::ElementQuery::setResult(){
    142   *target=tmp;
    143 }
Note: See TracChangeset for help on using the changeset viewer.