MCPcopy Create free account
hub / github.com/OtterBrowser/otter-browser / ReloadTimeDialog

Method ReloadTimeDialog

src/ui/ReloadTimeDialog.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25{
26
27ReloadTimeDialog::ReloadTimeDialog(int time, QWidget *parent) : Dialog(parent),
28 m_ui(new Ui::ReloadTimeDialog)
29{
30 m_ui->setupUi(this);
31
32 const int minutes(time / 60);
33
34 m_ui->minutesSpinBox->setValue(minutes);
35 m_ui->secondsSpinBox->setValue(time - (minutes * 60));
36}
37
38ReloadTimeDialog::~ReloadTimeDialog()
39{

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected