| 651 | } |
| 652 | |
| 653 | bool UICodeEditorSplitter::removeTabWithOwnedWidgetId( const std::string& id, bool destroyOwnedNode, |
| 654 | bool immediateClose ) { |
| 655 | auto ret = getTabFromOwnedWidgetId( id ); |
| 656 | if ( ret.empty() ) |
| 657 | return false; |
| 658 | |
| 659 | for ( const auto& r : ret ) |
| 660 | r.second->removeTab( r.first, destroyOwnedNode, immediateClose ); |
| 661 | |
| 662 | return true; |
| 663 | } |
| 664 | |
| 665 | void UICodeEditorSplitter::removeUnusedTab( UITabWidget* tabWidget, bool destroyOwnedNode, |
| 666 | bool immediateClose ) { |
no test coverage detected