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

Method refresh

pcsx2-qt/GameList/GameListWidget.cpp:553–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553void GameListWidget::refresh(bool invalidate_cache, bool popup_on_error)
554{
555 cancelRefresh();
556
557 m_refresh_thread = new GameListRefreshThread(invalidate_cache, popup_on_error);
558 connect(m_refresh_thread, &GameListRefreshThread::refreshProgress, this, &GameListWidget::onRefreshProgress,
559 Qt::QueuedConnection);
560 connect(m_refresh_thread, &GameListRefreshThread::refreshComplete, this, &GameListWidget::onRefreshComplete,
561 Qt::QueuedConnection);
562 m_refresh_thread->start();
563}
564
565void GameListWidget::cancelRefresh()
566{

Callers 5

onRefreshProgressMethod · 0.45
onRefreshCompleteMethod · 0.45
setShowCoverTitlesMethod · 0.45
rescanFileMethod · 0.45

Calls 1

startMethod · 0.45

Tested by

no test coverage detected