// attach the BufferWidget to the PropertyMapper
Client::bufferModel()->mapProperty(0, NetworkModel::BufferIdRole, ui.bufferWidget, "currentBuffer");
connect(Client::networkModel(), SIGNAL(bufferAboutToBeRemoved(BufferId)),
// attach the BufferWidget to the PropertyMapper
Client::bufferModel()->mapProperty(0, NetworkModel::BufferIdRole, ui.bufferWidget, "currentBuffer");
connect(Client::networkModel(), SIGNAL(bufferAboutToBeRemoved(BufferId)),