summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-04-28 08:06:41 +0200
committerMontel Laurent <[email protected]>2016-04-28 08:06:41 +0200
commitcf75bd47a89106ffea51efd8b0d0aa55a4394c20 (patch)
tree8fe0f2debedaa33009cf81652c4926440d60798f
parent5c15bf418b3ce323bcf83a56f7ee2bcda47cf03b (diff)
Disable quote selection as there is qt web engine bug. Need to reactivate after that
-rw-r--r--messagecomposer/src/helper/messagefactory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/messagecomposer/src/helper/messagefactory.cpp b/messagecomposer/src/helper/messagefactory.cpp
index ad9e746..46314f5 100644
--- a/messagecomposer/src/helper/messagefactory.cpp
+++ b/messagecomposer/src/helper/messagefactory.cpp
@@ -310,9 +310,11 @@ MessageFactory::MessageReply MessageFactory::createReply()
parser.setIdentityManager(m_identityManager);
parser.setCharsets(MessageComposerSettings::self()->preferredCharsets());
parser.setWordWrap(MessageComposerSettings::wordWrap(), MessageComposerSettings::lineWrapWidth());
+#ifdef QTWEBENGINE_BUG_SELECTION_FIXED
if (MessageComposer::MessageComposerSettings::quoteSelectionOnly()) {
parser.setSelection(m_selection);
}
+#endif
parser.setAllowDecryption(true);
if (!m_template.isEmpty()) {
parser.process(m_template, m_origMsg);