Backport r601486: Fix RMB/View on text attachments showing no newlines. This has annoyed me for years, glad I finally get around fixing it :) Also fixed a queue/write mismatch which led to a runtime warning and to strange order of things in the code.
Backport r601486:
Fix RMB/View on text attachments showing no newlines. This has annoyed me for years, glad I finally get around fixing it :)
Also fixed a queue/write mismatch which led to a runtime warning and to strange order of things in the code.

svn path=/branches/kdepim/proko2/kdepim/; revision=601487

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi