mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed compile on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
21feaf46da
commit
bb9f362458
@ -358,10 +358,7 @@ static void sendMail (QString sAddress, QString sSubject, QString sBody)
|
||||
{
|
||||
#ifdef Q_WS_WIN
|
||||
/* search and replace the end of lines with: "%0D%0A" */
|
||||
size_t loc;
|
||||
while ((loc = sBody.find("\n")) != sBody.npos) {
|
||||
sBody.replace(loc, 1, "%0D%0A");
|
||||
}
|
||||
sBody.replace("\n", "%0D%0A");
|
||||
#endif
|
||||
|
||||
QUrl url = QUrl("mailto:" + sAddress);
|
||||
|
Loading…
Reference in New Issue
Block a user