mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Use qt5 connect() syntax
This commit is contained in:
@@ -163,7 +163,7 @@ SettingsStorage::SettingsStorage()
|
||||
{
|
||||
m_timer.setSingleShot(true);
|
||||
m_timer.setInterval(5 * 1000);
|
||||
connect(&m_timer, SIGNAL(timeout()), SLOT(save()));
|
||||
connect(&m_timer, &QTimer::timeout, this, &SettingsStorage::save);
|
||||
}
|
||||
|
||||
SettingsStorage::~SettingsStorage()
|
||||
|
||||
Reference in New Issue
Block a user