Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
kile4
Fix-bool-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-bool-check.patch of Package kile4
From a5b5f1ef4bfacfa6043cd55089c34e19e86460a2 Mon Sep 17 00:00:00 2001 From: Pino Toscano <pino@kde.org> Date: Sun, 7 Apr 2019 08:29:38 +0200 Subject: [PATCH] Fix bool check --- src/editorkeysequencemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editorkeysequencemanager.cpp b/src/editorkeysequencemanager.cpp index 645149df..023c32c2 100644 --- a/src/editorkeysequencemanager.cpp +++ b/src/editorkeysequencemanager.cpp @@ -203,7 +203,7 @@ bool Recorder::seekForKeySequence(const QString& s) { 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); -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor