Surrounds debug code with ifdefs

This commit is contained in:
Michael Jones 2013-08-23 14:58:54 -05:00
parent 6686bbdae4
commit bf8d54bba7
1 changed files with 2 additions and 2 deletions

View File

@ -696,9 +696,9 @@ void QxtRfc2822Parser::parseBody(QxtMailMessagePrivate* msg)
endSecond = bndRe.pos() + bndRe.matchedLength();
#ifdef QXT_MAIL_MESSAGE_DEBUG
#if QT_VERSION >= 0x040600
if (bndRe.captureCount() == 2 && bndRe.cap(2) == "--") last = true;
if (bndRe.captureCount() == 2 && bndRe.cap(2) == "--") last = true;
#else
if (bndRe.numCaptures() == 2 && bndRe.cap(2) == "--") last = true;
if (bndRe.numCaptures() == 2 && bndRe.cap(2) == "--") last = true;
#endif
#endif