mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
Importance code refactoring related to the "preferences" code - Greatly improves performance
This commit is contained in:
parent
a640b08414
commit
e5032a52c4
26 changed files with 976 additions and 1142 deletions
|
@ -28,7 +28,7 @@ Smtp::Smtp(const QString &from, const QString &to, const QString &subject, const
|
|||
this->from = from;
|
||||
rcpt = to;
|
||||
state = Init;
|
||||
socket->connectToHost(Preferences::getMailNotificationSMTP(), 25);
|
||||
socket->connectToHost(Preferences().getMailNotificationSMTP(), 25);
|
||||
if(socket->waitForConnected ( 30000 )) {
|
||||
qDebug("connected");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue