MOdtSignalRenderer rend(tf);
connect(&rend,SIGNAL(getVariable(QString,QVariant&)), this,SLOT(getVariable(QString,QVariant&)));
connect(&rend,SIGNAL(getLoopIterations(QString,int&)), this,SLOT(getLoopIterations(QString,int&)));
- connect(&rend,SIGNAL(setLoopIteration(QString,int)), this,SLOT(setLoopIteration(QString,int&)));
+ connect(&rend,SIGNAL(setLoopIteration(QString,int)), this,SLOT(setLoopIteration(QString,int)));
rend.renderToFile(fname);
donePrintBuffer();
}
//get tickets (only valid ones, only those that are to be paid)
QList<MOTicket>tlst=m_order.tickets();
for(int i=0;i<tlst.size();i++)
- if(!tlst[i].ticketid().isNull() && (tlst[i].status()&MOTicket::MaskPay)!=0)
+ if(!tlst[i].ticketid().isNull() && (tlst[i].status()&MOTicket::MaskPay)!=0){
printBuffer.tickets.append(tlst[i]);
+ }
//accumulated view on tickets
for(int i=0;i<printBuffer.tickets.size();i++){
MOTicket t=printBuffer.tickets[i];