Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libkgapi6 for openSUSE:Factory 
checked in at 2026-04-17 21:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkgapi6 (Old)
 and      /work/SRC/openSUSE:Factory/.libkgapi6.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkgapi6"

Fri Apr 17 21:48:28 2026 rev:27 rq:1347539 version:26.04.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkgapi6/libkgapi6.changes      2026-03-07 
20:04:54.815419124 +0100
+++ /work/SRC/openSUSE:Factory/.libkgapi6.new.11940/libkgapi6.changes   
2026-04-17 21:49:44.886240276 +0200
@@ -1,0 +2,27 @@
+Sat Apr 11 16:14:39 UTC 2026 - Christophe Marin <[email protected]>
+
+- Update to 26.04.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/gear/26.04.0/
+- No code change since 26.03.90
+
+-------------------------------------------------------------------
+Mon Mar 30 12:10:53 UTC 2026 - Christophe Marin <[email protected]>
+
+- Update to 26.03.90
+  * New feature release
+- No code change since 26.03.80
+
+-------------------------------------------------------------------
+Sat Mar 14 09:10:00 UTC 2026 - Christophe Marin <[email protected]>
+
+- Update to 26.03.80
+  * New feature release
+- Changes since 25.12.3:
+  * cmake_minimum_required: drop outdated FATAL_ERROR.
+  * Add default ClangBuildAnalyzer.ini (testing compile time)
+  * Add missing USE_UNITY_CMAKE_SUPPORT variable for building as unity from 
cmakepreset
+  * Fix clazy warning
+
+-------------------------------------------------------------------

Old:
----
  libkgapi-25.12.3.tar.xz
  libkgapi-25.12.3.tar.xz.sig

New:
----
  libkgapi-26.04.0.tar.xz
  libkgapi-26.04.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libkgapi6.spec ++++++
--- /var/tmp/diff_new_pack.YIBypj/_old  2026-04-17 21:49:45.422262368 +0200
+++ /var/tmp/diff_new_pack.YIBypj/_new  2026-04-17 21:49:45.422262368 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libkgapi6
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %define rname libkgapi
 %bcond_without released
 Name:           libkgapi6
-Version:        25.12.3
+Version:        26.04.0
 Release:        0
 Summary:        Extension for accessing Google data
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later


++++++ libkgapi-25.12.3.tar.xz -> libkgapi-26.04.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/.gitignore 
new/libkgapi-26.04.0/.gitignore
--- old/libkgapi-25.12.3/.gitignore     2026-02-06 06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/.gitignore     2026-04-08 05:47:05.000000000 +0200
@@ -30,3 +30,4 @@
 Testing/
 /.vscode/
 .qtcreator/
+.sentry-native/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/.gitlab-ci.yml 
new/libkgapi-26.04.0/.gitlab-ci.yml
--- old/libkgapi-25.12.3/.gitlab-ci.yml 2026-02-06 06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/.gitlab-ci.yml 2026-04-08 05:47:05.000000000 +0200
@@ -1,4 +1,4 @@
-# SPDX-FileCopyrightText: 2020-2025 Laurent Montel <[email protected]>
+# SPDX-FileCopyrightText: 2020-2026 Laurent Montel <[email protected]>
 # SPDX-License-Identifier: CC0-1.0
 
 include:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/CMakeLists.txt 
new/libkgapi-26.04.0/CMakeLists.txt
--- old/libkgapi-25.12.3/CMakeLists.txt 2026-02-06 06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/CMakeLists.txt 2026-04-08 05:47:05.000000000 +0200
@@ -1,13 +1,13 @@
-cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
-set(PIM_VERSION "6.6.3")
+cmake_minimum_required(VERSION 3.27)
+set(PIM_VERSION "6.7.0")
 
 set(KGAPI_LIB_VERSION ${PIM_VERSION})
 
 project(kgapi VERSION ${KGAPI_LIB_VERSION})
 
 # ECM setup
-set(KF_MIN_VERSION "6.18.0")
-set(QT_REQUIRED_VERSION "6.8.0")
+set(KF_MIN_VERSION "6.22.0")
+set(QT_REQUIRED_VERSION "6.9.0")
 find_package(ECM ${KF_MIN_VERSION} CONFIG REQUIRED)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
 set(CMAKE_CXX_SCAN_FOR_MODULES OFF)
@@ -65,7 +65,12 @@
 
 
 add_definitions(-DQT_NO_CONTEXTLESS_CONNECT)
-ecm_set_disabled_deprecation_versions(QT 6.10.0 KF 6.20.0)
+if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+    # Not setting for GNU due to too many warnings related to private members 
of base classes or around lambdas
+    # see e.g. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56556 or 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328
+    string(APPEND CMAKE_CXX_FLAGS " -Wshadow")
+endif()
+ecm_set_disabled_deprecation_versions(QT 6.11.0 KF 6.23.0)
 
 
 option(USE_UNITY_CMAKE_SUPPORT "Use UNITY cmake support (speedup compile 
time)" OFF)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/CMakePresets.json 
new/libkgapi-26.04.0/CMakePresets.json
--- old/libkgapi-25.12.3/CMakePresets.json      2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/CMakePresets.json      2026-04-08 05:47:05.000000000 
+0200
@@ -1,5 +1,6 @@
 {
-    "version": 3,
+    "$schema": 
"https://cmake.org/cmake/help/latest/_downloads/3e2d73bff478d88a7de0de736ba5e361/schema.json";,
+    "version": 8,
     "configurePresets": [
         {
             "name": "base",
@@ -16,12 +17,10 @@
             "name": "dev-mold",
             "displayName": "Build as debug + using mold linker",
             "cacheVariables": {
-                "CMAKE_BUILD_TYPE": "Debug",
-                "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold"
             },
             "inherits": [
-                "base"
+                "dev"
             ]
         },
         {
@@ -49,27 +48,22 @@
         {
             "name": "dev-clang",
             "displayName": "dev-clang",
-            "cacheVariables": {
-                "CMAKE_BUILD_TYPE": "Debug",
-                "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
-            },
             "environment": {
                 "CXX": "clang++",
                 "CCACHE_DISABLE": "ON"
             },
             "inherits": [
-                "base"
+                "dev"
             ]
         },
         {
             "name": "unity",
             "displayName": "Build with CMake unity support.",
             "cacheVariables": {
-                "CMAKE_BUILD_TYPE": "Debug",
                 "USE_UNITY_CMAKE_SUPPORT": "ON"
             },
             "inherits": [
-                "base"
+                "dev"
             ]
         },
         {
@@ -123,8 +117,6 @@
             "name": "ftime-trace",
             "displayName": "ftime-trace",
             "cacheVariables": {
-                "CMAKE_BUILD_TYPE": "Debug",
-                "USE_DEVELOPER_MODE": "ON",
                 "CMAKE_C_FLAGS_INIT": "-ftime-trace",
                 "CMAKE_CXX_FLAGS_INIT": "-ftime-trace"
             },
@@ -134,7 +126,7 @@
                 "CCACHE_DISABLE": "ON"
             },
             "inherits": [
-                "base"
+                "dev"
             ]
         }
     ],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/CMakePresets.json.license 
new/libkgapi-26.04.0/CMakePresets.json.license
--- old/libkgapi-25.12.3/CMakePresets.json.license      2026-02-06 
06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/CMakePresets.json.license      2026-04-08 
05:47:05.000000000 +0200
@@ -1,2 +1,2 @@
-# SPDX-FileCopyrightText: 2021-2025 Laurent Montel <[email protected]>
+# SPDX-FileCopyrightText: 2021-2026 Laurent Montel <[email protected]>
 # SPDX-License-Identifier: BSD-3-Clause
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/ClangBuildAnalyzer.ini 
new/libkgapi-26.04.0/ClangBuildAnalyzer.ini
--- old/libkgapi-25.12.3/ClangBuildAnalyzer.ini 1970-01-01 01:00:00.000000000 
+0100
+++ new/libkgapi-26.04.0/ClangBuildAnalyzer.ini 2026-04-08 05:47:05.000000000 
+0200
@@ -0,0 +1,37 @@
+# SPDX-FileCopyrightText: 2025-2026 Laurent Montel <[email protected]>
+# SPDX-License-Identifier: CC0-1.0
+# ClangBuildAnalyzer reads ClangBuildAnalyzer.ini file from the working 
directory
+# when invoked, and various aspects of reporting can be configured this way.
+
+# How many of most expensive things are reported?
+[counts]
+
+# files that took most time to parse
+fileParse = 20
+# files that took most time to generate code for
+fileCodegen = 20
+# functions that took most time to generate code for
+function = 50
+# header files that were most expensive to include
+header = 10
+# for each expensive header, this many include paths to it are shown
+headerChain = 10
+# templates that took longest to instantiate
+template = 30
+
+
+# Minimum times (in ms) for things to be recorded into trace
+[minTimes]
+
+# parse/codegen for a file
+file = 10
+
+
+[misc]
+
+# Maximum length of symbol names printed; longer names will get truncated
+maxNameLength = 100
+
+# Only print "root" headers in expensive header report, i.e.
+# only headers that are directly included by at least one source file
+onlyRootHeaders = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/poqm/sk/libkgapi6_qt.po 
new/libkgapi-26.04.0/poqm/sk/libkgapi6_qt.po
--- old/libkgapi-25.12.3/poqm/sk/libkgapi6_qt.po        2026-02-06 
06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/poqm/sk/libkgapi6_qt.po        2026-04-08 
05:47:05.000000000 +0200
@@ -13,8 +13,8 @@
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 21.12.3\n"
 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+"X-Generator: Lokalize 21.12.3\n"
 "X-Qt-Contexts: true\n"
 
 #: src/blogger/blogfetchjob.cpp:82
@@ -238,9 +238,7 @@
 "Google odpovedal '%1'"
 
 #: src/core/private/fullauthenticationjob.cpp:54
-#, fuzzy, qt-format
-#| msgctxt "KGAPI2::AuthWidgetPrivate|"
-#| msgid "Error receiving response: %1"
+#, qt-format
 msgctxt "KGAPI2::FullAuthenticationJob|"
 msgid "Error receiving response: %1"
 msgstr "Chyba pri prijímaní odpovede: %1"
@@ -253,20 +251,14 @@
 #: src/core/private/fullauthenticationjob.cpp:62
 msgctxt "KGAPI2::FullAuthenticationJob|"
 msgid "You can close this tab and return to the application now."
-msgstr ""
+msgstr "Teraz môžete zavrieť túto kartu a vrátiť sa do aplikácie."
 
 #: src/core/private/fullauthenticationjob.cpp:77
-#, fuzzy
-#| msgctxt "KGAPI2::AuthWidgetPrivate|"
-#| msgid "Token response invalid"
 msgctxt "KGAPI2::FullAuthenticationJob|"
 msgid "Token response invalid"
 msgstr "Odpoveď tokenu neplatná"
 
 #: src/core/private/fullauthenticationjob.cpp:92
-#, fuzzy
-#| msgctxt "KGAPI2::AuthWidgetPrivate|"
-#| msgid "Could not extract token from HTTP answer"
 msgctxt "KGAPI2::FullAuthenticationJob|"
 msgid "Could not extract token from HTTP answer"
 msgstr "Z odpovede HTTP sa nepodarilo extrahovať token"
@@ -277,17 +269,11 @@
 msgstr "Neplatný účet"
 
 #: src/core/private/fullauthenticationjob.cpp:189
-#, fuzzy
-#| msgctxt "KGAPI2::AuthWidget|"
-#| msgid "No scopes to authenticate for"
 msgctxt "KGAPI2::FullAuthenticationJob|"
 msgid "No scopes to authenticate for"
 msgstr "Žiadne rozsahy na overenie"
 
 #: src/core/private/fullauthenticationjob.cpp:202
-#, fuzzy
-#| msgctxt "KGAPI2::AuthWidget|"
-#| msgid "Could not start oauth http server"
 msgctxt "KGAPI2::FullAuthenticationJob|"
 msgid "Could not start OAuth HTTP server"
 msgstr "Nepodarilo sa spustiť oauth http server"
@@ -298,9 +284,6 @@
 msgstr "Zlyhala analýza odpovede servera."
 
 #: src/core/private/refreshtokensjob.cpp:92
-#, fuzzy
-#| msgctxt "KGAPI2::AuthJob|"
-#| msgid "Failed to parse newly fetched tokens"
 msgctxt "KGAPI2::RefreshTokensJob|"
 msgid "Failed to parse newly fetched tokens"
 msgstr "Zlyhalo spracovanie novo stiahnutých tokenov"
@@ -358,17 +341,17 @@
 #: src/drive/fileabstractresumablejob.cpp:313
 msgctxt "KGAPI2::Drive::FileAbstractResumableJob|"
 msgid "Failed opening upload session"
-msgstr ""
+msgstr "Nepodarilo sa otvoriť reláciu nahrávania"
 
 #: src/drive/fileabstractresumablejob.cpp:342
 msgctxt "KGAPI2::Drive::FileAbstractResumableJob|"
 msgid "Failed uploading chunk"
-msgstr ""
+msgstr "Nepodarilo sa nahrať časť súboru"
 
 #: src/drive/fileabstractresumablejob.cpp:363
 msgctxt "KGAPI2::Drive::FileAbstractResumableJob|"
 msgid "Failed completing upload session"
-msgstr ""
+msgstr "Nepodarilo sa dokončiť reláciu nahrávania"
 
 #: src/drive/fileabstractuploadjob.cpp:282
 msgctxt "KGAPI2::Drive::FileAbstractUploadJob|"
@@ -451,49 +434,31 @@
 msgstr "Neznámy typ obsahu odpovede"
 
 #: src/people/contactgroupcreatejob.cpp:93
-#, fuzzy
-#| msgctxt "KGAPI2::Blogger::BlogFetchJob|"
-#| msgid "Invalid response content type"
 msgctxt "KGAPI2::People::ContactGroupCreateJob|"
 msgid "Invalid response content type"
 msgstr "Neznámy typ obsahu odpovede"
 
 #: src/people/contactgroupmodifyjob.cpp:91
-#, fuzzy
-#| msgctxt "KGAPI2::Blogger::BlogFetchJob|"
-#| msgid "Invalid response content type"
 msgctxt "KGAPI2::People::ContactGroupModifyJob|"
 msgid "Invalid response content type"
 msgstr "Neznámy typ obsahu odpovede"
 
 #: src/people/personcreatejob.cpp:89
-#, fuzzy
-#| msgctxt "KGAPI2::Blogger::BlogFetchJob|"
-#| msgid "Invalid response content type"
 msgctxt "KGAPI2::People::PersonCreateJob|"
 msgid "Invalid response content type"
 msgstr "Neznámy typ obsahu odpovede"
 
 #: src/people/personmodifyjob.cpp:104
-#, fuzzy
-#| msgctxt "KGAPI2::Blogger::BlogFetchJob|"
-#| msgid "Invalid response content type"
 msgctxt "KGAPI2::People::PersonModifyJob|"
 msgid "Invalid response content type"
 msgstr "Neznámy typ obsahu odpovede"
 
 #: src/people/personphotodeletejob.cpp:87
-#, fuzzy
-#| msgctxt "KGAPI2::Blogger::BlogFetchJob|"
-#| msgid "Invalid response content type"
 msgctxt "KGAPI2::People::PersonPhotoDeleteJob|"
 msgid "Invalid response content type"
 msgstr "Neznámy typ obsahu odpovede"
 
 #: src/people/personphotoupdatejob.cpp:97
-#, fuzzy
-#| msgctxt "KGAPI2::Blogger::BlogFetchJob|"
-#| msgid "Invalid response content type"
 msgctxt "KGAPI2::People::PersonPhotoUpdateJob|"
 msgid "Invalid response content type"
 msgstr "Neznámy typ obsahu odpovede"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/readme-build-ftime.txt 
new/libkgapi-26.04.0/readme-build-ftime.txt
--- old/libkgapi-25.12.3/readme-build-ftime.txt 2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/readme-build-ftime.txt 2026-04-08 05:47:05.000000000 
+0200
@@ -12,7 +12,7 @@
 
 ## Command line
 
-cmake -preset ftime-trace
+cmake --preset ftime-trace
 
 ClangBuildAnalyzer --start $PWD/build-ftime-trace
 cmake --build --preset ftime-trace
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/sanitizers.supp 
new/libkgapi-26.04.0/sanitizers.supp
--- old/libkgapi-25.12.3/sanitizers.supp        2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/sanitizers.supp        2026-04-08 05:47:05.000000000 
+0200
@@ -1,4 +1,4 @@
-# SPDX-FileCopyrightText: 2021-2025 Laurent Montel <[email protected]>
+# SPDX-FileCopyrightText: 2021-2026 Laurent Montel <[email protected]>
 # SPDX-License-Identifier: CC0-1.0
 # Suppression file for ASAN/LSAN
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/calendar/event.h 
new/libkgapi-26.04.0/src/calendar/event.h
--- old/libkgapi-25.12.3/src/calendar/event.h   2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/src/calendar/event.h   2026-04-08 05:47:05.000000000 
+0200
@@ -34,7 +34,7 @@
         OutOfOffice,    //< Out of office event
         WorkingLocation //< Working location event
     };
-    Q_ENUM(EventType);
+    Q_ENUM(EventType)
 
     /**
      * @brief Constructor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/calendar/eventfetchjob.cpp 
new/libkgapi-26.04.0/src/calendar/eventfetchjob.cpp
--- old/libkgapi-25.12.3/src/calendar/eventfetchjob.cpp 2026-02-06 
06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/src/calendar/eventfetchjob.cpp 2026-04-08 
05:47:05.000000000 +0200
@@ -158,7 +158,7 @@
         } else {
             query.addQueryItem(QStringLiteral("syncToken"), d->syncToken);
         }
-        for (auto eventType : d->eventTypes) {
+        for (const auto eventType : std::as_const(d->eventTypes)) {
             query.addQueryItem(QStringLiteral("eventTypes"), 
CalendarService::eventTypeToString(eventType));
         }
         url.setQuery(query);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/about.cpp 
new/libkgapi-26.04.0/src/drive/about.cpp
--- old/libkgapi-25.12.3/src/drive/about.cpp    2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/src/drive/about.cpp    2026-04-08 05:47:05.000000000 
+0200
@@ -548,7 +548,7 @@
     }
     const QVariantMap map = document.toVariant().toMap();
 
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#about")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#about")) {
         return AboutPtr();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/app.cpp 
new/libkgapi-26.04.0/src/drive/app.cpp
--- old/libkgapi-25.12.3/src/drive/app.cpp      2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/src/drive/app.cpp      2026-04-08 05:47:05.000000000 
+0200
@@ -143,7 +143,7 @@
 
 AppPtr App::Private::fromJSON(const QVariantMap &map)
 {
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#app")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#app")) {
         return AppPtr();
     }
 
@@ -306,7 +306,7 @@
     }
     const QVariant data = document.toVariant();
     const QVariantMap map = data.toMap();
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#appList")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#appList")) {
         return AppsList();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/change.cpp 
new/libkgapi-26.04.0/src/drive/change.cpp
--- old/libkgapi-25.12.3/src/drive/change.cpp   2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/src/drive/change.cpp   2026-04-08 05:47:05.000000000 
+0200
@@ -44,7 +44,7 @@
 
 ChangePtr Change::Private::fromJSON(const QVariantMap &map)
 {
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#change")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#change")) {
         return ChangePtr();
     }
 
@@ -134,11 +134,11 @@
 
     const QVariant data = document.toVariant();
     const QVariantMap map = data.toMap();
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#changeList")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#changeList")) {
         return ChangesList();
     }
 
-    if (map.contains(QLatin1StringView("nextLink"))) {
+    if (map.contains(QStringLiteral("nextLink"))) {
         feedData.nextPageUrl = map[QStringLiteral("nextLink")].toUrl();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/childreference.cpp 
new/libkgapi-26.04.0/src/drive/childreference.cpp
--- old/libkgapi-25.12.3/src/drive/childreference.cpp   2026-02-06 
06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/src/drive/childreference.cpp   2026-04-08 
05:47:05.000000000 +0200
@@ -39,7 +39,7 @@
 
 ChildReferencePtr ChildReference::Private::fromJSON(const QVariantMap &map)
 {
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#childReference")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#childReference")) {
         return ChildReferencePtr();
     }
 
@@ -114,7 +114,7 @@
 
     const QVariant data = document.toVariant();
     const QVariantMap map = data.toMap();
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#childList")) 
{
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#childList")) 
{
         return ChildReferencesList();
     }
 
@@ -128,7 +128,7 @@
         }
     }
 
-    if (map.contains(QLatin1StringView("nextLink"))) {
+    if (map.contains(QStringLiteral("nextLink"))) {
         feedData.nextPageUrl = map[QStringLiteral("nextLink")].toUrl();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libkgapi-25.12.3/src/drive/fileabstractresumablejob.cpp 
new/libkgapi-26.04.0/src/drive/fileabstractresumablejob.cpp
--- old/libkgapi-25.12.3/src/drive/fileabstractresumablejob.cpp 2026-02-06 
06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/src/drive/fileabstractresumablejob.cpp 2026-04-08 
05:47:05.000000000 +0200
@@ -75,7 +75,7 @@
         if (metaData->mimeType().isEmpty() && !chunks.isEmpty()) {
             // No mimeType set, determine from title and first chunk
             const QMimeDatabase db;
-            const QMimeType mime = 
db.mimeTypeForFileNameAndData(metaData->title(), chunks.first());
+            const QMimeType mime = 
db.mimeTypeForFileNameAndData(metaData->title(), chunks.constFirst());
             const QString contentType = mime.name();
             metaData->setMimeType(contentType);
             qCDebug(KGAPIDebug) << "Metadata mimeType was missing, determined" 
<< contentType;
@@ -135,7 +135,7 @@
         startUploadSession();
         return;
     case Started: {
-        if (chunks.isEmpty() || chunks.first().size() < ChunkSize) {
+        if (chunks.isEmpty() || chunks.constFirst().size() < ChunkSize) {
             qCDebug(KGAPIDebug) << "Chunks empty or not big enough to process, 
asking for more";
 
             if (device) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/parentreference.cpp 
new/libkgapi-26.04.0/src/drive/parentreference.cpp
--- old/libkgapi-25.12.3/src/drive/parentreference.cpp  2026-02-06 
06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/src/drive/parentreference.cpp  2026-04-08 
05:47:05.000000000 +0200
@@ -29,7 +29,7 @@
 
 ParentReferencePtr ParentReference::Private::fromJSON(const QVariantMap &map)
 {
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#parentReference")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#parentReference")) {
         return ParentReferencePtr();
     }
 
@@ -130,7 +130,7 @@
 
     const QVariant data = document.toVariant();
     const QVariantMap map = data.toMap();
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#parentList")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#parentList")) {
         return ParentReferencesList();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/permission.cpp 
new/libkgapi-26.04.0/src/drive/permission.cpp
--- old/libkgapi-25.12.3/src/drive/permission.cpp       2026-02-06 
06:49:10.000000000 +0100
+++ new/libkgapi-26.04.0/src/drive/permission.cpp       2026-04-08 
05:47:05.000000000 +0200
@@ -171,7 +171,7 @@
 
 PermissionPtr Permission::Private::fromJSON(const QVariantMap &map)
 {
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#permission")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#permission")) {
         return PermissionPtr();
     }
 
@@ -394,7 +394,7 @@
     }
     const QVariant json = document.toVariant();
     const QVariantMap map = json.toMap();
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#permissionList")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#permissionList")) {
         return PermissionsList();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/revision.cpp 
new/libkgapi-26.04.0/src/drive/revision.cpp
--- old/libkgapi-25.12.3/src/drive/revision.cpp 2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/src/drive/revision.cpp 2026-04-08 05:47:05.000000000 
+0200
@@ -70,7 +70,7 @@
 
 RevisionPtr Revision::Private::fromJSON(const QVariantMap &map)
 {
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#revision")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#revision")) {
         return RevisionPtr();
     }
 
@@ -263,7 +263,7 @@
     const QVariant data = document.toVariant();
     const QVariantMap map = data.toMap();
 
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#revisionList")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != 
QLatin1StringView("drive#revisionList")) {
         return RevisionsList();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/drive/user.cpp 
new/libkgapi-26.04.0/src/drive/user.cpp
--- old/libkgapi-25.12.3/src/drive/user.cpp     2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/src/drive/user.cpp     2026-04-08 05:47:05.000000000 
+0200
@@ -83,7 +83,7 @@
 
 UserPtr User::fromJSON(const QVariantMap &map)
 {
-    if (!map.contains(QLatin1StringView("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#user")) {
+    if (!map.contains(QStringLiteral("kind")) || 
map[QStringLiteral("kind")].toString() != QLatin1StringView("drive#user")) {
         return UserPtr();
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libkgapi-25.12.3/src/people/person.cpp 
new/libkgapi-26.04.0/src/people/person.cpp
--- old/libkgapi-25.12.3/src/people/person.cpp  2026-02-06 06:49:10.000000000 
+0100
+++ new/libkgapi-26.04.0/src/people/person.cpp  2026-04-08 05:47:05.000000000 
+0200
@@ -288,7 +288,7 @@
             return;
         }
 
-        const auto nameToUse = names.first();
+        const auto nameToUse = names.constFirst();
         nameToUse.applyToKContactsAddressee(addressee);
     }
 
@@ -299,7 +299,7 @@
             return;
         }
 
-        const auto nicknameToUse = nicknames.first();
+        const auto nicknameToUse = nicknames.constFirst();
         addressee.setNickName(nicknameToUse.value());
     }
 
@@ -310,7 +310,7 @@
             return;
         }
 
-        const auto birthdayToUse = birthdays.first();
+        const auto birthdayToUse = birthdays.constFirst();
         addressee.setBirthday(birthdayToUse.date());
     }
 
@@ -350,7 +350,7 @@
             return;
         }
 
-        const auto organizationToUse = organizations.first();
+        const auto organizationToUse = organizations.constFirst();
         addressee.setOrganization(organizationToUse.name());
         addressee.setDepartment(organizationToUse.department());
     }
@@ -362,7 +362,7 @@
             return;
         }
 
-        const auto occupationToUse = occupations.first();
+        const auto occupationToUse = occupations.constFirst();
         addressee.setProfession(occupationToUse.value());
     }
 
@@ -373,7 +373,7 @@
             return;
         }
 
-        const auto photoToUse = photos.first();
+        const auto photoToUse = photos.constFirst();
         KContacts::Picture picture(photoToUse.url());
         addressee.setPhoto(picture);
     }

Reply via email to