void BufferWidget::zoomIn() {
  ChatView *view = qobject_cast<ChatView *>(ui.stackedWidget->currentWidget());
  if(view)
    view->zoomIn();
}