[neon/mobile/plasma-mobile/Neon/release_jammy] debian/patches: Revert "patch from https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/518"

Carlos De Maine null at kde.org
Wed Jul 3 08:30:45 BST 2024


Git commit 514902ea6ba4d2642dacf3f4a07971895e2ea094 by Carlos De Maine.
Committed on 03/07/2024 at 07:30.
Pushed by carlosdem into branch 'Neon/release_jammy'.

Revert "patch from https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/518"

This reverts commit 528e66d3a60911508a938e372d7d4f73bccbaec8

D  +0    -16   debian/patches/noconst.diff
D  +0    -1    debian/patches/series

https://invent.kde.org/neon/mobile/plasma-mobile/-/commit/514902ea6ba4d2642dacf3f4a07971895e2ea094

diff --git a/debian/patches/noconst.diff b/debian/patches/noconst.diff
deleted file mode 100644
index 310a83a..0000000
--- a/debian/patches/noconst.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/envmanager/settings.cpp b/envmanager/settings.cpp
-index bd24a313a..337399aa3 100644
---- a/envmanager/settings.cpp
-+++ b/envmanager/settings.cpp
-@@ -127,8 +127,9 @@ void Settings::loadKeys(const QString &fileName, KSharedConfig::Ptr &config, con
- // NOTE: this only saves a value if it hasn't already been saved
- void Settings::saveConfigSetting(const QString &fileName, const QString &group, const QString &key, const QVariant value)
- {
--    const auto savedGroup = KConfigGroup{m_mobileConfig, SAVED_CONFIG_GROUP};
--    const auto fileGroup = KConfigGroup{&savedGroup, fileName};
-+    // These are not const because we are writing an entry
-+    auto savedGroup = KConfigGroup{m_mobileConfig, SAVED_CONFIG_GROUP};
-+    auto fileGroup = KConfigGroup{&savedGroup, fileName};
-     auto keyGroup = KConfigGroup{&fileGroup, group};
- 
-     if (!keyGroup.hasKey(key)) {
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index ee95a1e..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-noconst.diff


More information about the Neon-commits mailing list