Ignore:
File:
1 edited

Legend:

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

    r0aa122 rf10b0c  
    3131#include "World.hpp"
    3232
    33 QtDialog::ElementQtQuery::ElementQtQuery(std::string _title, QBoxLayout *_parent, QtDialog *_dialog) :
    34     Dialog::ElementQuery(_title),
     33QtDialog::ElementQtQuery::ElementQtQuery(Parameter<const element *> &param, std::string _title, QBoxLayout *_parent, QtDialog *_dialog) :
     34    Dialog::ElementQuery(param, _title),
    3535    parent(_parent)
    3636{
     
    5151  thisLayout->addWidget(inputBox);
    5252
    53   pipe = new ElementQtQueryPipe(&tmp,_dialog,inputBox);
     53  pipe = new ElementQtQueryPipe(tmp,_dialog,inputBox);
    5454  pipe->update(inputBox->currentIndex());
    5555  connect(inputBox,SIGNAL(currentIndexChanged(int)),pipe,SLOT(update(int)));
Note: See TracChangeset for help on using the changeset viewer.