Hello community, here is the log from the commit of package kquickcharts for openSUSE:Factory checked in at 2020-08-12 12:25:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kquickcharts (Old) and /work/SRC/openSUSE:Factory/.kquickcharts.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kquickcharts" Wed Aug 12 12:25:05 2020 rev:9 rq:825102 version:5.73.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kquickcharts/kquickcharts.changes 2020-07-14 07:55:24.261034827 +0200 +++ /work/SRC/openSUSE:Factory/.kquickcharts.new.3399/kquickcharts.changes 2020-08-12 12:29:10.064176441 +0200 @@ -1,0 +2,10 @@ +Sun Aug 2 07:13:44 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.73.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/kde-frameworks-5.73.0 +- Changes since 5.72.0: + * Also take model properties into account when using ModelHistorySource + +------------------------------------------------------------------- Old: ---- kquickcharts-5.72.0.tar.xz kquickcharts-5.72.0.tar.xz.sig New: ---- kquickcharts-5.73.0.tar.xz kquickcharts-5.73.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kquickcharts.spec ++++++ --- /var/tmp/diff_new_pack.cYrKpG/_old 2020-08-12 12:29:10.780176419 +0200 +++ /var/tmp/diff_new_pack.cYrKpG/_new 2020-08-12 12:29:10.784176420 +0200 @@ -16,14 +16,14 @@ # -%define _tar_path 5.72 +%define _tar_path 5.73 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: kquickcharts -Version: 5.72.0 +Version: 5.73.0 Release: 0 Summary: Set of charts for QtQuick applications License: LGPL-2.1-or-later ++++++ kquickcharts-5.72.0.tar.xz -> kquickcharts-5.73.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kquickcharts-5.72.0/CMakeLists.txt new/kquickcharts-5.73.0/CMakeLists.txt --- old/kquickcharts-5.72.0/CMakeLists.txt 2020-07-04 11:55:45.000000000 +0200 +++ new/kquickcharts-5.73.0/CMakeLists.txt 2020-08-01 19:10:39.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.72.0") # handled by release scripts -set(KF5_DEP_VERSION "5.72.0") # handled by release scripts +set(KF5_VERSION "5.73.0") # handled by release scripts +set(KF5_DEP_VERSION "5.73.0") # handled by release scripts project(KQuickCharts VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.72.0 NO_MODULE) +find_package(ECM 5.73.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kquickcharts-5.72.0/src/datasource/ModelHistorySource.cpp new/kquickcharts-5.73.0/src/datasource/ModelHistorySource.cpp --- old/kquickcharts-5.72.0/src/datasource/ModelHistorySource.cpp 2020-07-04 11:55:45.000000000 +0200 +++ new/kquickcharts-5.73.0/src/datasource/ModelHistorySource.cpp 2020-08-01 19:10:39.000000000 +0200 @@ -36,6 +36,12 @@ if (m_history.isEmpty()) return QVariant{}; + auto minProperty = model()->property("minimum"); + auto maxProperty = model()->property("maximum"); + if (maxProperty.isValid() && maxProperty != minProperty) { + return maxProperty; + } + return *std::min_element(m_history.begin(), m_history.end()); } @@ -44,6 +50,12 @@ if (m_history.isEmpty()) return QVariant{}; + auto minProperty = model()->property("minimum"); + auto maxProperty = model()->property("maximum"); + if (maxProperty.isValid() && maxProperty != minProperty) { + return maxProperty; + } + return *std::max_element(m_history.begin(), m_history.end()); }
