mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Use qt5 connect() syntax
This commit is contained in:
parent
7af83ab704
commit
6b4455e13d
37 changed files with 198 additions and 175 deletions
|
@ -66,7 +66,7 @@ ShutdownConfirmDlg::ShutdownConfirmDlg(QWidget *parent, const ShutdownDialogActi
|
|||
move(Utils::Misc::screenCenter(this));
|
||||
|
||||
m_timer.setInterval(1000); // 1sec
|
||||
connect(&m_timer, SIGNAL(timeout()), this, SLOT(updateSeconds()));
|
||||
connect(&m_timer, &QTimer::timeout, this, &ShutdownConfirmDlg::updateSeconds);
|
||||
|
||||
Utils::Gui::resize(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue