Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/Query/UnsignedIntQtQuery.cpp

    rc70fb4 r955b91  
    2828
    2929
    30 QtDialog::UnsignedIntQtQuery::UnsignedIntQtQuery(Parameter<unsigned int> &param, std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    31     Dialog::UnsignedIntQuery(param, _title),
     30QtDialog::UnsignedIntQtQuery::UnsignedIntQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     31    Dialog::UnsignedIntQuery(_title),
    3232    parent(_parent)
    3333{
    34   if (!param.isSet())
    35     param.set(0);
    3634  thisLayout = new QHBoxLayout();
    3735  titleLabel = new QLabel(QString(getTitle().c_str()));
    3836  inputBox = new QSpinBox();
    39   inputBox->setValue(param.get());
     37  inputBox->setValue(0);
    4038  parent->addLayout(thisLayout);
    4139  thisLayout->addWidget(titleLabel);
    4240  thisLayout->addWidget(inputBox);
    4341
    44   pipe = new UnsignedIntQtQueryPipe(tmp,_dialog);
     42  pipe = new UnsignedIntQtQueryPipe(&tmp,_dialog);
    4543  pipe->update(inputBox->value());
    4644  connect(inputBox,SIGNAL(valueChanged(unsigned int)),pipe,SLOT(update(unsigned int)));
Note: See TracChangeset for help on using the changeset viewer.