Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2018 08:15:05 +0000 (UTC)
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478291 - head/editors/kile-kde4/files
Message-ID:  <201808280815.w7S8F5JR080463@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adridg
Date: Tue Aug 28 08:15:05 2018
New Revision: 478291
URL: https://svnweb.freebsd.org/changeset/ports/478291

Log:
  Clang7 fixes
  
  PR:		230945

Added:
  head/editors/kile-kde4/files/
  head/editors/kile-kde4/files/patch-src_editorkeysequencemanager.cpp   (contents, props changed)

Added: head/editors/kile-kde4/files/patch-src_editorkeysequencemanager.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/kile-kde4/files/patch-src_editorkeysequencemanager.cpp	Tue Aug 28 08:15:05 2018	(r478291)
@@ -0,0 +1,11 @@
+--- src/editorkeysequencemanager.cpp.orig	2018-08-28 08:13:42 UTC
++++ src/editorkeysequencemanager.cpp
+@@ -203,7 +203,7 @@ bool Recorder::eventFilter(QObject* /* o
+ 	{
+ 		for(int i = 0; i < s.length(); ++i) {
+ 			QString toCheck = s.right(s.length() - i);
+-			if(m_watchedKeySequencesList.contains(toCheck) > 0) {
++			if(m_watchedKeySequencesList.contains(toCheck)) {
+  				m_view->document()->removeText(KTextEditor::Range(m_oldLine, m_oldCol - (s.length() - i - 1), m_oldLine, m_oldCol));
+ 				m_typedSequence.clear(); // clean m_typedSequence to avoid wrong action triggering if one presses keys without printable character
+ 				emit detectedTypedKeySequence(toCheck);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808280815.w7S8F5JR080463>