- Connect toolbar for atcore instance
- closeable tabs if more then one tab open
- atcore is stoped if a tab is closed.
Apply it with arc. Creating extra instances will fail unless you use the D10786 with this.
In this case [&] and [this] should capture the same "this" referance.
Thats how you correctly quit a tab. calling QTabWidget::remove only removes the tab from the view it does not delete it. We want ours removed instances to be completely closed if removed.
Im sure you have heard the expression
I will double check this is safe and remove the check .