| 142 | } |
| 143 | |
| 144 | bool KDevelop::ForegroundLock::tryLock() |
| 145 | { |
| 146 | if (tryLockForegroundMutexInternal()) { |
| 147 | m_locked = true; |
| 148 | return true; |
| 149 | } |
| 150 | return false; |
| 151 | } |
| 152 | |
| 153 | void KDevelop::ForegroundLock::unlock() |
| 154 | { |
no test coverage detected