Fix Bug 415160 - KMail build fails if messagelib is built without Qca-qt5

FIXED-IN: 5.13.1
BUG: 415160
wilder
Laurent Montel 6 years ago
parent 218b8cf4ef
commit f025305936
  1. 4
      src/kmreadermainwin.cpp

@ -69,6 +69,7 @@
#include <Akonadi/KMime/MessageFlags>
#include "kpimtextedit/texttospeech.h"
#include <mailcommon/mailutil.h>
#include "messageviewer/config-messageviewer.h"
#ifdef USE_DKIM_CHECKER
#include <MessageViewer/DKIMWidgetInfo>
#endif
@ -111,8 +112,9 @@ void KMReaderMainWin::initKMReaderMainWin()
mZoomLabelIndicator = new ZoomLabelWidget(statusBar());
statusBar()->addPermanentWidget(mZoomLabelIndicator);
setZoomChanged(mReaderWin->viewer()->webViewZoomFactor());
#ifdef USE_DKIM_CHECKER
statusBar()->addPermanentWidget(mReaderWin->viewer()->dkimWidgetInfo());
#endif
if (!mReaderWin->message().isValid()) {
menuBar()->hide();
toolBar(QStringLiteral("mainToolBar"))->hide();

Loading…
Cancel
Save