No, don't ask me why this fixes the crash on renaming a folder :-)

I'd really like to know why KMMessage::setDecodeHTML() crashes when made virtual...
Index: kmail/kmmessage.h
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmmessage.h,v
retrieving revision 1.91
diff -u -3 -p -r1.91 kmmessage.h
--- kmail/kmmessage.h	2002/05/11 01:05:10	1.91
+++ kmail/kmmessage.h	2002/05/20 11:06:53
@@ -420,7 +420,7 @@ public:
   { mCodec = aCodec; }

   /** Allow decoding of HTML for quoting */
-  virtual void setDecodeHTML(bool aDecodeHTML)
+  void setDecodeHTML(bool aDecodeHTML)
   { mDecodeHTML = aDecodeHTML; }

   /** Return if the message is complete and not only the header of a message

svn path=/trunk/kdenetwork/kmail/; revision=156484
wilder-work
Marc Mutz 24 years ago
parent dd765f702d
commit 85511321b0
  1. 2
      kmmessage.h

@ -420,7 +420,7 @@ public:
{ mCodec = aCodec; }
/** Allow decoding of HTML for quoting */
virtual void setDecodeHTML(bool aDecodeHTML)
void setDecodeHTML(bool aDecodeHTML)
{ mDecodeHTML = aDecodeHTML; }
/** Return if the message is complete and not only the header of a message

Loading…
Cancel
Save