Fix compilation warnings in smtp.h (cgreco)

This commit is contained in:
Christophe Dumez
2011-06-05 16:08:30 +00:00
parent 53900c386b
commit 02fbd6a135
87 changed files with 11700 additions and 9106 deletions

View File

@@ -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);