| 372 | } |
| 373 | |
| 374 | void UILocker::Session::setInfo(DWORD pid, const QString& name) |
| 375 | { |
| 376 | { |
| 377 | std::scoped_lock lock(m_mutex); |
| 378 | m_pid = pid; |
| 379 | m_name = name; |
| 380 | } |
| 381 | |
| 382 | QMetaObject::invokeMethod(qApp, [this] { |
| 383 | UILocker::instance().updateLabel(); |
| 384 | }); |
| 385 | } |
| 386 | |
| 387 | DWORD UILocker::Session::pid() const |
| 388 | { |
no test coverage detected