HI, I have a SLOT
slot() {
vector <QWidget*> tabs;
vector<QSpinBox*> sbx;
vector<QSpinBox*> sby;
vector<QSpinBox*> sbz;
cout << "problem \n";
tabs.push_back(tab0);
tabs.push_back(tab1);
tabs.push_back(tab2);
tabs.push_back(tab3);
tabs.push_back(tab4);
tabs.push_back(tab5);
tabs.push_back(tab6);
tabs.push_back(tab7);
cout << " END problem \n";
}
slot() {
vector <QWidget*> tabs;
vector<QSpinBox*> sbx;
vector<QSpinBox*> sby;
vector<QSpinBox*> sbz;
cout << "problem \n";
tabs.push_back(tab0);
tabs.push_back(tab1);
tabs.push_back(tab2);
tabs.push_back(tab3);
tabs.push_back(tab4);
tabs.push_back(tab5);
tabs.push_back(tab6);
tabs.push_back(tab7);
cout << " END problem \n";
}
To copy to clipboard, switch view to plain text mode
this slot can be called many time; it happen that the 3th or 4th time, generate a bug error;
"cout << " END problem \n";" isn't print..........do anyone know why??? thanks
Bookmarks