| 607 | } |
| 608 | |
| 609 | void OutputWidget::raiseOutput(int id) |
| 610 | { |
| 611 | const auto viewIt = m_views.constFind(id); |
| 612 | if (viewIt != m_views.constEnd()) { |
| 613 | auto view = viewIt->view; |
| 614 | if( data->type & KDevelop::IOutputView::MultipleView ) |
| 615 | { |
| 616 | int idx = m_tabwidget->indexOf(view); |
| 617 | if( idx >= 0 ) |
| 618 | { |
| 619 | m_tabwidget->setCurrentIndex( idx ); |
| 620 | } |
| 621 | } else if( data->type & KDevelop::IOutputView::HistoryView ) |
| 622 | { |
| 623 | int idx = m_stackwidget->indexOf(view); |
| 624 | if( idx >= 0 ) |
| 625 | { |
| 626 | m_stackwidget->setCurrentIndex( idx ); |
| 627 | } |
| 628 | } |
| 629 | } |
| 630 | enableActions(); |
| 631 | } |
| 632 | |
| 633 | void OutputWidget::nextOutput() |
| 634 | { |
no test coverage detected