MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / setInfo

Method setInfo

src/uilocker.cpp:374–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void 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
387DWORD UILocker::Session::pid() const
388{

Callers 2

updateLabelMethod · 0.45

Calls 1

updateLabelMethod · 0.80

Tested by

no test coverage detected