commit ktexteditor for openSUSE:Factory
Hello community, here is the log from the commit of package ktexteditor for openSUSE:Factory checked in at 2016-04-01 13:01:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ktexteditor (Old) and /work/SRC/openSUSE:Factory/.ktexteditor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ktexteditor" Changes: -------- --- /work/SRC/openSUSE:Factory/ktexteditor/ktexteditor.changes 2016-03-16 10:31:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ktexteditor.new/ktexteditor.changes 2016-04-01 13:01:05.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Mar 27 14:50:45 UTC 2016 - hrvoje.senjan@gmail.com + +- Added 0001-Fix-Clazy-fix-mistake-that-broke-selection-handling-.patch + +------------------------------------------------------------------- New: ---- 0001-Fix-Clazy-fix-mistake-that-broke-selection-handling-.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ktexteditor.spec ++++++ --- /var/tmp/diff_new_pack.AqznJ2/_old 2016-04-01 13:01:06.000000000 +0200 +++ /var/tmp/diff_new_pack.AqznJ2/_new 2016-04-01 13:01:06.000000000 +0200 @@ -53,6 +53,8 @@ Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf +# PATCH-FIX-UPSTREAM 0001-Fix-Clazy-fix-mistake-that-broke-selection-handling-.patch +Patch0: 0001-Fix-Clazy-fix-mistake-that-broke-selection-handling-.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -74,6 +76,7 @@ %lang_package %prep %setup -q +%patch0 -p1 %build %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir} ++++++ 0001-Fix-Clazy-fix-mistake-that-broke-selection-handling-.patch ++++++
From 860cb9763c507be2e9202fd4e94116dfb1402566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A5re=20S=C3=A4rs?= <kare.sars@iki.fi> Date: Fri, 25 Mar 2016 23:32:28 +0200 Subject: [PATCH 1/1] Fix "Clazy fix" mistake that broke selection handling/layout cache
Among the Clazy warning fixes, was one "count() -> !isEmpty()" that should not have been there in katelayoutcache.cpp CCMAIL: kwrite-devel@kde.org (cherry picked from commit f7f330b21aa394a62ac95ea9bee075f372ff6d9c) --- src/render/katelayoutcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/katelayoutcache.cpp b/src/render/katelayoutcache.cpp index 33781fe..3eb268f 100644 --- a/src/render/katelayoutcache.cpp +++ b/src/render/katelayoutcache.cpp @@ -165,7 +165,7 @@ void KateLayoutCache::updateViewCache(const KTextEditor::Cursor &startPos, int n { //qCDebug(LOG_KTE) << startPos << " nvlc " << newViewLineCount << " vls " << viewLinesScrolled; - int oldViewLineCount = !m_textLayouts.isEmpty(); + int oldViewLineCount = m_textLayouts.count(); if (newViewLineCount == -1) { newViewLineCount = oldViewLineCount; } -- 2.6.2
participants (1)
-
root@hilbert.suse.de