MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / CompleteProgress

Method CompleteProgress

src/client/ct_main_progress.cpp:185–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 }
184
185 void MainProgress::CompleteProgress() {
186 progress_steps_ = progress_bar_->maximum();
187 context_->PostUITask([this]() {
188 progress_bar_->setValue(progress_steps_);
189 QTimer::singleShot(150, [this]() {
190 this->hide();
191 });
192
193 });
194 }
195
196 int MainProgress::GetCurrentProgress() {
197 return progress_steps_;

Callers 1

RegisterBaseListenersMethod · 0.80

Calls 2

setValueMethod · 0.80
PostUITaskMethod · 0.45

Tested by

no test coverage detected