From 426b21b2f9ccb7f5e5609006ce2134eecedefd13 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Sun, 29 Oct 2017 21:38:39 +0000 Subject: [PATCH] Remove input mode bug This bug prevents qZint from working on Windows --- backend_qt/qzint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend_qt/qzint.cpp b/backend_qt/qzint.cpp index b438346c..cd2b8637 100644 --- a/backend_qt/qzint.cpp +++ b/backend_qt/qzint.cpp @@ -65,7 +65,7 @@ namespace Zint { m_zintSymbol->whitespace_width = m_whitespace; m_zintSymbol->border_width = m_borderWidth; m_zintSymbol->option_1 = m_securityLevel; - m_zintSymbol->input_mode = m_input_mode + ESCAPE_MODE; + m_zintSymbol->input_mode = m_input_mode; m_zintSymbol->option_2 = m_width; m_zintSymbol->dot_size = m_dot_size; if (m_hidetext) { @@ -252,7 +252,7 @@ namespace Zint { m_zintSymbol->whitespace_width = m_whitespace; m_zintSymbol->border_width = m_borderWidth; m_zintSymbol->option_1 = m_securityLevel; - m_zintSymbol->input_mode = m_input_mode + ESCAPE_MODE; + m_zintSymbol->input_mode = m_input_mode; m_zintSymbol->option_2 = m_width; m_zintSymbol->dot_size = m_dot_size; if (m_hidetext) {