| 9887 | } |
| 9888 | |
| 9889 | void QKeyMapper_Worker::handleFilterKeysOnMappingStop() |
| 9890 | { |
| 9891 | // Only restore if the flag is set (we enabled FilterKeys and user didn't change it) |
| 9892 | if (s_RestoreFilterKeysState && QKeyMapper::isWindowsFilterKeysEnabled()) { |
| 9893 | // Disable FilterKeys (restore to original disabled state) |
| 9894 | QKeyMapper::setWindowsFilterKeysEnabled(false); |
| 9895 | #ifdef DEBUG_LOGOUT_ON |
| 9896 | qDebug() << "[QKeyMapper_Worker::handleFilterKeysOnMappingStop] Restored FilterKeys to disabled state"; |
| 9897 | #endif |
| 9898 | } else { |
| 9899 | #ifdef DEBUG_LOGOUT_ON |
| 9900 | qDebug() << "[QKeyMapper_Worker::handleFilterKeysOnMappingStop] No FilterKeys state restore needed"; |
| 9901 | #endif |
| 9902 | } |
| 9903 | |
| 9904 | // Reset restore flag |
| 9905 | s_RestoreFilterKeysState = false; |
| 9906 | } |
| 9907 | |
| 9908 | void QKeyMapper_Worker::notifyUserChangedFilterKeys() |
| 9909 | { |
nothing calls this directly
no outgoing calls
no test coverage detected