mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Cleanup downloadfromurldlg, statsdialog
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user