MCPcopy Create free account
hub / github.com/codestation/qcma / decreaseTimer

Method decreaseTimer

gui/forms/pinform.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void PinForm::decreaseTimer()
62{
63 counter--;
64 if(counter == 0) {
65 timer.stop();
66 hide();
67 }
68 ui->timeLabel->setText(tr("Time remaining: %1 seconds").arg(counter));
69}
70
71PinForm::~PinForm()
72{

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected