| 119 | } |
| 120 | |
| 121 | void DevicePropertiesDialog::showEvent(QShowEvent *e) |
| 122 | { |
| 123 | QDialog::showEvent(e); |
| 124 | if (!m_sizeAdjusted) { |
| 125 | m_sizeAdjusted = true; |
| 126 | adjustSize(); |
| 127 | setFixedSize(size()); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | bool DevicePropertiesDialog::isKernelModule() const { |
| 132 | return m_info.driver.isEmpty() || m_info.driver == "(kernel)"; |
nothing calls this directly
no outgoing calls
no test coverage detected