[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 64784] multiple spaces in subject appear as only one space in
From: David Faure <faure () kde ! org>
Date: 2004-06-22 10:48:13
Message-ID: 20040622104813.11461.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=64784
faure kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From faure kde org 2004-06-22 12:48 -------
CVS commit by faure:
Keep multiple spaces in mail subjects, while still removing \r and \n.
Patch by Paul Sprakes (pauls sprakes co uk) - thanks!
CCMAIL: 64784-done bugs kde org
M +2 -1 kmheaders.cpp 1.647
--- kdepim/kmail/kmheaders.cpp #1.646:1.647
@ -44,4 +44,5 @ using namespace KPIM;
#include <qstyle.h>
#include <qlistview.h>
+#include <qregexp.h>
#include <mimelib/enum.h>
@ -281,5 +282,5 @ public:
tmp = i18n("No Subject");
else
- tmp = tmp.simplifyWhiteSpace();
+ tmp.remove(QRegExp("[\r\n]"));
} else if(col == headers->paintInfo()->dateCol) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic