Do not trigger assert when closing tab.
TabbedViewWidget::removePage is called twice for the same page, which leads to assert being triggered on the second run. It is called by those two signals in mainwindow.cpp:
connect(disconnectAction, SIGNAL(triggered()), SLOT(disconnectHost())); connect(view, SIGNAL(disconnected()), this, SLOT(disconnectHost()));
Edited by Lamarque Souza