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

Method checkForDelayedShow

pcsx2-qt/QtProgressCallback.cpp:113–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void QtModalProgressCallback::checkForDelayedShow()
114{
115 if (m_dialog.isVisible())
116 return;
117
118 if (m_show_timer.GetTimeSeconds() >= m_show_delay)
119 {
120 m_dialog.setRange(0, m_progress_range);
121 m_dialog.setValue(m_progress_value);
122 m_dialog.show();
123 }
124}
125
126QtAsyncProgressThread::QtAsyncProgressThread(QWidget* parent)
127 : QThread()

Callers

nothing calls this directly

Calls 1

GetTimeSecondsMethod · 0.80

Tested by

no test coverage detected