Commit 6a8753bd authored by Laurent Montel's avatar Laurent Montel 😁

Clean up code

parent 199f3ef4
......@@ -2188,11 +2188,7 @@ void ViewerPrivate::updateReaderWin()
}
mRecursionCountForDisplayMessage++;
#ifdef MESSAGEVIEWER_USE_QTWEBENGINE
mViewer->setAllowExternalContent(htmlLoadExternal());
#else
mViewer->setAllowExternalContent(htmlLoadExternal());
#endif
htmlWriter()->reset();
//TODO: if the item doesn't have the payload fetched, try to fetch it? Maybe not here, but in setMessageItem.
if (mMessage) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment