| 28 | { |
| 29 | |
| 30 | ApplicationComboBoxWidget::ApplicationComboBoxWidget(QWidget *parent) : QComboBox(parent), |
| 31 | m_previousIndex(0), |
| 32 | m_alwaysShowDefaultApplication(false) |
| 33 | { |
| 34 | addItem(tr("Default Application")); |
| 35 | insertSeparator(1); |
| 36 | addItem(tr("Other…")); |
| 37 | |
| 38 | connect(this, static_cast<void(ApplicationComboBoxWidget::*)(int)>(&ApplicationComboBoxWidget::currentIndexChanged), this, &ApplicationComboBoxWidget::handleIndexChanged); |
| 39 | } |
| 40 | |
| 41 | void ApplicationComboBoxWidget::changeEvent(QEvent *event) |
| 42 | { |
nothing calls this directly
no outgoing calls
no test coverage detected