mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -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
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue