summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-26 06:38:32 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-26 06:38:32 (GMT)
commitcb71e7ffe30d4c49308539f661fc6fa05351f0b0 (patch)
tree9d694370b72151f554e90198695ffb240e61f1ac
parent7e1fd7a141c6e056726794a0315421c41607be6b (diff)
USe hasHeader
-rw-r--r--plugins/messageviewerheaderplugins/fancyheaderstyleplugin/fancyheaderstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/messageviewerheaderplugins/fancyheaderstyleplugin/fancyheaderstyle.cpp b/plugins/messageviewerheaderplugins/fancyheaderstyleplugin/fancyheaderstyle.cpp
index 4013495..642d9f7 100644
--- a/plugins/messageviewerheaderplugins/fancyheaderstyleplugin/fancyheaderstyle.cpp
+++ b/plugins/messageviewerheaderplugins/fancyheaderstyleplugin/fancyheaderstyle.cpp
@@ -207,7 +207,7 @@ QString FancyHeaderStyle::format(KMime::Message *message) const
}
if (strategy->showHeader(QStringLiteral("x-bugzilla-url"))) {
- if (message->headerByType("X-Bugzilla-URL")) {
+ if (message->hasHeader("X-Bugzilla-URL")) {
QString product;
if (auto hrd = message->headerByType("X-Bugzilla-Product")) {
product = hrd->asUnicodeString();