| 63 | } |
| 64 | |
| 65 | void ContentDockWidget::slotWindowStateChanged(Qt::WindowStates /*oldState*/, Qt::WindowStates newState) { |
| 66 | if (m_closing) |
| 67 | return; |
| 68 | |
| 69 | if (newState.testFlag(Qt::WindowActive) || newState.testFlag(Qt::WindowMaximized)) |
| 70 | m_part->registerShortcuts(); |
| 71 | else |
| 72 | m_part->unregisterShortcuts(); |
| 73 | } |
nothing calls this directly
no test coverage detected