void BufferView::joinChannel(const QModelIndex &index) {
Buffer::Type bufferType = (Buffer::Type)index.data(BufferTreeModel::BufferTypeRole).toInt();
void BufferView::joinChannel(const QModelIndex &index) {
Buffer::Type bufferType = (Buffer::Type)index.data(BufferTreeModel::BufferTypeRole).toInt();