X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/6fcc8fcf6b98f413f813904fe0f078d2782fb9d5..2b9e6a32187b73d68b8be741a408bd08c137b256:/Constructor/src/item.cpp diff --git a/Constructor/src/item.cpp b/Constructor/src/item.cpp index 0bbf005..7607502 100644 --- a/Constructor/src/item.cpp +++ b/Constructor/src/item.cpp @@ -80,10 +80,6 @@ void CItem::on_menu_popup_eliminar() workplace->delete_item(ID); } -void CItem::on_menu_popup_conectar() -{ -} - int CItem::get_position_x() { return x; @@ -113,6 +109,7 @@ Glib::ustring CItem::get_name() Glib::ustring CItem::get_other_name(int _id) { std::list::iterator i = listaItems->begin(); + std::cout << name << " " << _id << std::endl; while ( i != listaItems->end() ) { if ( (*i)->get_id() == _id ) return (*i)->get_name();