MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / StartThread

Method StartThread

pcsx2-qt/Settings/MemoryCardConvertDialog.cpp:103–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void MemoryCardConvertDialog::StartThread()
104{
105 m_thread = std::make_unique<MemoryCardConvertWorker>(this, m_srcCardInfo.type, m_fileType, m_selectedCard.toStdString(), m_destCardName.toStdString());
106 connect(m_thread.get(), &MemoryCardConvertWorker::statusUpdated, this, &MemoryCardConvertDialog::onStatusUpdated);
107 connect(m_thread.get(), &MemoryCardConvertWorker::progressUpdated, this, &MemoryCardConvertDialog::onProgressUpdated);
108 connect(m_thread.get(), &MemoryCardConvertWorker::threadFinished, this, &MemoryCardConvertDialog::onThreadFinished);
109 m_thread->start();
110 UpdateEnabled();
111}
112
113void MemoryCardConvertDialog::CancelThread()
114{

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected