mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
Cleanup downloadfromurldlg, statsdialog
This commit is contained in:
parent
933f9f1451
commit
73047e3c84
6 changed files with 30 additions and 55 deletions
|
@ -44,12 +44,13 @@ StatsDialog::StatsDialog(QWidget *parent)
|
|||
{
|
||||
ui->setupUi(this);
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
connect(ui->buttonOK, SIGNAL(clicked()), SLOT(close()));
|
||||
connect(ui->buttonBox, SIGNAL(accepted()), SLOT(close()));
|
||||
updateUI();
|
||||
t = new QTimer(this);
|
||||
t->setInterval(1500);
|
||||
connect(t, SIGNAL(timeout()), SLOT(updateUI()));
|
||||
t->start();
|
||||
|
||||
show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue