+ if ( !listaItems.empty() ) {
+ while ( i != listaItems.end() ) {
+ CItem *temp = *i;
+ if ( !temp->check_connection() ) {
+ dlg_connect->set_title("Error");
+ dlg_label->set_text("Los elementos no estan conectados\n\t\tcorrectamente");
+ dlg_connect->show();
+ return;
+ }
+ i++;