diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-23 22:44:36 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-23 22:44:36 +0100 |
commit | 99c4d53fd86440ee6c8a76c9d320a319ff5da7bc (patch) | |
tree | 5481c213cb1aeab91c3ec792706533daa1d7dd64 | |
parent | 893171c5c618ff67f6fa5dafee813313a371d81d (diff) | |
download | kube-99c4d53fd86440ee6c8a76c9d320a319ff5da7bc.tar.gz kube-99c4d53fd86440ee6c8a76c9d320a319ff5da7bc.zip |
less debug output
-rw-r--r-- | components/package/contents/ui/WebView.qml | 4 | ||||
-rw-r--r-- | framework/domain/messageparser.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/components/package/contents/ui/WebView.qml b/components/package/contents/ui/WebView.qml index a71b42af..ac5735ba 100644 --- a/components/package/contents/ui/WebView.qml +++ b/components/package/contents/ui/WebView.qml | |||
@@ -28,8 +28,8 @@ Item { | |||
28 | id: htmlView | 28 | id: htmlView |
29 | anchors.fill: parent | 29 | anchors.fill: parent |
30 | onLoadingChanged: { | 30 | onLoadingChanged: { |
31 | console.warn("Error is ", loadRequest.errorString); | 31 | console.debug("Error is ", loadRequest.errorString); |
32 | console.warn("Status is ", loadRequest.status); | 32 | console.debug("Status is ", loadRequest.status); |
33 | } | 33 | } |
34 | Component.onCompleted: { | 34 | Component.onCompleted: { |
35 | loadHtml(content, "file:///") | 35 | loadHtml(content, "file:///") |
diff --git a/framework/domain/messageparser.cpp b/framework/domain/messageparser.cpp index 19e6bb78..ea2ecbf1 100644 --- a/framework/domain/messageparser.cpp +++ b/framework/domain/messageparser.cpp | |||
@@ -69,15 +69,15 @@ QVariant MessageParser::message() const | |||
69 | 69 | ||
70 | void MessageParser::setMessage(const QVariant &message) | 70 | void MessageParser::setMessage(const QVariant &message) |
71 | { | 71 | { |
72 | QTime time; | 72 | // QTime time; |
73 | time.start(); | 73 | // time.start(); |
74 | d->mParser = std::shared_ptr<Parser>(new Parser(message.toByteArray())); | 74 | d->mParser = std::shared_ptr<Parser>(new Parser(message.toByteArray())); |
75 | 75 | ||
76 | const auto mailData = KMime::CRLFtoLF(message.toByteArray()); | 76 | const auto mailData = KMime::CRLFtoLF(message.toByteArray()); |
77 | KMime::Message::Ptr msg(new KMime::Message); | 77 | KMime::Message::Ptr msg(new KMime::Message); |
78 | msg->setContent(mailData); | 78 | msg->setContent(mailData); |
79 | msg->parse(); | 79 | msg->parse(); |
80 | qWarning() << "parsed: " << time.elapsed(); | 80 | // qWarning() << "parsed: " << time.elapsed(); |
81 | 81 | ||
82 | // render the mail | 82 | // render the mail |
83 | StringHtmlWriter htmlWriter; | 83 | StringHtmlWriter htmlWriter; |