mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix compilation warnings in smtp.h (cgreco)
This commit is contained in:
@@ -81,7 +81,7 @@ public:
|
||||
}
|
||||
|
||||
static inline libtorrent::sha1_hash toSha1Hash(const QString &hash) {
|
||||
return libtorrent::sha1_hash(qPrintable(hash));
|
||||
return libtorrent::sha1_hash(hash.toAscii().constData());
|
||||
}
|
||||
|
||||
static void chmod644(const QDir& folder);
|
||||
|
||||
Reference in New Issue
Block a user